Merge branch 'master' of github.com:sveltejs/template
This commit is contained in:
@@ -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()
|
||||
]
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user