Remove svelte-image
This commit is contained in:
parent
17c8e0e494
commit
59e015ddaa
2355
package-lock.json
generated
2355
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -23,8 +23,7 @@
|
||||
"marked": "^1.2.5",
|
||||
"polka": "^0.5.2",
|
||||
"ramda": "^0.27.1",
|
||||
"sirv": "^1.0.7",
|
||||
"svelte-image": "^0.2.7"
|
||||
"sirv": "^1.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.9",
|
||||
|
@ -7,7 +7,6 @@ import { terser } from 'rollup-plugin-terser'
|
||||
import config from 'sapper/config/rollup.js'
|
||||
import pkg from './package.json'
|
||||
import svg from 'rollup-plugin-svg'
|
||||
// import image from 'svelte-image'
|
||||
import sveltePreprocess from 'svelte-preprocess'
|
||||
import typescript from '@rollup/plugin-typescript'
|
||||
|
||||
@ -38,10 +37,6 @@ export default {
|
||||
hydratable: true,
|
||||
},
|
||||
emitCss: true,
|
||||
// Disabled automatic image compression
|
||||
// preprocess: {
|
||||
// ...image(),
|
||||
// },
|
||||
preprocess: sveltePreprocess({
|
||||
sourceMap: dev,
|
||||
defaults: {
|
||||
@ -109,9 +104,6 @@ export default {
|
||||
script: 'typescript',
|
||||
},
|
||||
}),
|
||||
// preprocess: {
|
||||
// ...image(),
|
||||
// },
|
||||
}),
|
||||
resolve({
|
||||
dedupe,
|
||||
|
Loading…
Reference in New Issue
Block a user