Support store by default

This commit is contained in:
Rich Harris 2018-01-12 07:55:33 -05:00 committed by GitHub
parent ed48f89ed5
commit 8811853c17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,9 @@ export default {
css: css => { css: css => {
css.write('public/bundle.css'); css.write('public/bundle.css');
}, },
// enable https://svelte.technology/guide#state-management
store: true,
// this results in smaller CSS files // this results in smaller CSS files
cascade: false cascade: false
@ -41,4 +44,4 @@ export default {
production && buble({ exclude: 'node_modules/**' }), production && buble({ exclude: 'node_modules/**' }),
production && uglify() production && uglify()
] ]
}; };