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: {
|
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
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue