Merge branch 'master' of github.com:sveltejs/template
This commit is contained in:
commit
99b3f859a7
1 changed files with 5 additions and 2 deletions
|
@ -11,9 +11,9 @@ export default {
|
|||
output: {
|
||||
sourcemap: true,
|
||||
format: 'iife',
|
||||
name: 'app',
|
||||
file: 'public/bundle.js'
|
||||
},
|
||||
name: 'app',
|
||||
plugins: [
|
||||
svelte({
|
||||
// enable run-time checks when not in production
|
||||
|
@ -24,6 +24,9 @@ export default {
|
|||
css.write('public/bundle.css');
|
||||
},
|
||||
|
||||
// enable https://svelte.technology/guide#state-management
|
||||
store: true,
|
||||
|
||||
// this results in smaller CSS files
|
||||
cascade: false
|
||||
}),
|
||||
|
@ -41,4 +44,4 @@ export default {
|
|||
production && buble({ exclude: 'node_modules/**' }),
|
||||
production && uglify()
|
||||
]
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue