Merge branch 'master' of github.com:sveltejs/template

This commit is contained in:
Rich Harris 2018-03-05 10:27:10 -05:00
commit 99b3f859a7

View file

@ -11,9 +11,9 @@ export default {
output: { output: {
sourcemap: true, sourcemap: true,
format: 'iife', format: 'iife',
name: 'app',
file: 'public/bundle.js' file: 'public/bundle.js'
}, },
name: 'app',
plugins: [ plugins: [
svelte({ svelte({
// enable run-time checks when not in production // enable run-time checks when not in production
@ -24,6 +24,9 @@ export default {
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
}), }),