From ece818fc391baca46cfd8da6910df28811d578a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 17 Feb 2020 22:40:26 +0100 Subject: [PATCH] Rollup and NPM packages changes --- package.json | 2 +- rollup.config.js | 4 +++- static/img/icons/cross.svg | 3 --- static/img/icons/globe.svg | 3 --- 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 static/img/icons/cross.svg delete mode 100644 static/img/icons/globe.svg diff --git a/package.json b/package.json index c1ba55f..c5ee4df 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ }, "dependencies": { "animejs": "^3.1.0", - "aos": "^2.3.4", "compression": "^1.7.4", "dayjs": "^1.8.20", "normalize.css": "^8.0.1", @@ -26,6 +25,7 @@ "sirv": "^0.4.2" }, "devDependencies": { + "aos": "^2.3.4", "@babel/core": "^7.8.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-transform-runtime": "^7.8.3", diff --git a/rollup.config.js b/rollup.config.js index 86b5891..4c63496 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -47,7 +47,9 @@ export default { hydratable: true, // emitCss: true, // css: css => css.write('public/bundle.css'), - css: css => css.write('static/bundle.css', dev), + // ...(!dev && { + css: css => css.write('static/bundle.css', dev) + // }) // hot: hot && { // // sapper-dev-client expects either webpack or rollup with no HMR, so // // we need to prevent it from doing full reloads with rollup diff --git a/static/img/icons/cross.svg b/static/img/icons/cross.svg deleted file mode 100644 index df5af80..0000000 --- a/static/img/icons/cross.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/static/img/icons/globe.svg b/static/img/icons/globe.svg deleted file mode 100644 index 79d130f..0000000 --- a/static/img/icons/globe.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file