From de50c72294d3e1a2b86aadedeb3762f52f23a8c9 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 15 Nov 2019 18:26:14 -0500 Subject: [PATCH] put bundle in public/build --- .gitignore | 2 +- public/index.html | 4 ++-- rollup.config.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 849d10a..dc214b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .DS_Store node_modules -public/bundle.* +public/build diff --git a/public/index.html b/public/index.html index bcc0103..05e7845 100644 --- a/public/index.html +++ b/public/index.html @@ -8,9 +8,9 @@ - + - + diff --git a/rollup.config.js b/rollup.config.js index 04755f3..c11d174 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -13,7 +13,7 @@ export default { sourcemap: true, format: 'iife', name: 'app', - file: 'public/bundle.js' + file: 'public/build/bundle.js' }, plugins: [ svelte({ @@ -22,7 +22,7 @@ export default { // we'll extract any component CSS out into // a separate file — better for performance css: css => { - css.write('public/bundle.css'); + css.write('public/build/bundle.css'); } }),