simplify config
This commit is contained in:
parent
d6045c0a4c
commit
cca53b3168
1 changed files with 3 additions and 9 deletions
|
@ -7,9 +7,9 @@ import uglify from 'rollup-plugin-uglify';
|
|||
const production = !process.env.ROLLUP_WATCH;
|
||||
|
||||
export default {
|
||||
input: 'src/main.js',
|
||||
input: 'src/main.js',
|
||||
output: {
|
||||
sourcemap: true,
|
||||
sourcemap: true,
|
||||
format: 'iife',
|
||||
name: 'app',
|
||||
file: 'public/bundle.js'
|
||||
|
@ -22,13 +22,7 @@ export default {
|
|||
// a separate file — better for performance
|
||||
css: css => {
|
||||
css.write('public/bundle.css');
|
||||
},
|
||||
|
||||
// enable https://svelte.technology/guide#state-management
|
||||
store: true,
|
||||
|
||||
// this results in smaller CSS files
|
||||
cascade: false
|
||||
}
|
||||
}),
|
||||
|
||||
// If you have external dependencies installed from
|
||||
|
|
Loading…
Reference in a new issue