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",
|
"marked": "^1.2.5",
|
||||||
"polka": "^0.5.2",
|
"polka": "^0.5.2",
|
||||||
"ramda": "^0.27.1",
|
"ramda": "^0.27.1",
|
||||||
"sirv": "^1.0.7",
|
"sirv": "^1.0.7"
|
||||||
"svelte-image": "^0.2.7"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.9",
|
"@babel/core": "^7.12.9",
|
||||||
|
@ -7,7 +7,6 @@ import { terser } from 'rollup-plugin-terser'
|
|||||||
import config from 'sapper/config/rollup.js'
|
import config from 'sapper/config/rollup.js'
|
||||||
import pkg from './package.json'
|
import pkg from './package.json'
|
||||||
import svg from 'rollup-plugin-svg'
|
import svg from 'rollup-plugin-svg'
|
||||||
// import image from 'svelte-image'
|
|
||||||
import sveltePreprocess from 'svelte-preprocess'
|
import sveltePreprocess from 'svelte-preprocess'
|
||||||
import typescript from '@rollup/plugin-typescript'
|
import typescript from '@rollup/plugin-typescript'
|
||||||
|
|
||||||
@ -38,10 +37,6 @@ export default {
|
|||||||
hydratable: true,
|
hydratable: true,
|
||||||
},
|
},
|
||||||
emitCss: true,
|
emitCss: true,
|
||||||
// Disabled automatic image compression
|
|
||||||
// preprocess: {
|
|
||||||
// ...image(),
|
|
||||||
// },
|
|
||||||
preprocess: sveltePreprocess({
|
preprocess: sveltePreprocess({
|
||||||
sourceMap: dev,
|
sourceMap: dev,
|
||||||
defaults: {
|
defaults: {
|
||||||
@ -109,9 +104,6 @@ export default {
|
|||||||
script: 'typescript',
|
script: 'typescript',
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
// preprocess: {
|
|
||||||
// ...image(),
|
|
||||||
// },
|
|
||||||
}),
|
}),
|
||||||
resolve({
|
resolve({
|
||||||
dedupe,
|
dedupe,
|
||||||
|
Loading…
Reference in New Issue
Block a user