From cca53b3168df599dde4005edb0c10cb0ddea1a21 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Thu, 19 Apr 2018 10:59:33 -0400 Subject: [PATCH] simplify config --- rollup.config.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 4f1ea65..2b59a52 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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