NPM packages updates
This commit is contained in:
@@ -6,7 +6,7 @@ import svelte from 'rollup-plugin-svelte'
|
||||
import babel from 'rollup-plugin-babel'
|
||||
// import { eslint } from 'rollup-plugin-eslint'
|
||||
// import browsersync from 'rollup-plugin-browsersync'
|
||||
// import hmr from 'rollup-plugin-hot'
|
||||
import hmr from 'rollup-plugin-hot'
|
||||
import sveltePreprocess from 'svelte-preprocess'
|
||||
import { terser } from 'rollup-plugin-terser'
|
||||
import config from 'sapper/config/rollup.js'
|
||||
@@ -36,7 +36,7 @@ export default {
|
||||
input: config.client.input(),
|
||||
output: {
|
||||
...config.client.output(),
|
||||
// ...dev && { exports: 'named' }
|
||||
...dev && { exports: 'named' }
|
||||
},
|
||||
// experimentalCodeSplitting: true,
|
||||
plugins: [
|
||||
@@ -48,8 +48,8 @@ export default {
|
||||
// emitCss: true,
|
||||
// css: css => css.write('public/bundle.css'),
|
||||
// ...(!dev && {
|
||||
css: css => css.write('static/bundle.css', dev)
|
||||
// })
|
||||
css: css => css.write('static/bundle.css', dev),
|
||||
// }),
|
||||
// hot: hot && {
|
||||
// // sapper-dev-client expects either webpack or rollup with no HMR, so
|
||||
// // we need to prevent it from doing full reloads with rollup
|
||||
|
||||
Reference in New Issue
Block a user