From 67f1b481ac33ede136e07fd0cca0d91e6071e413 Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Thu, 8 Dec 2022 23:03:39 +0200 Subject: [PATCH] housekeeping + unify css files --- frontend/package.json | 13 +- frontend/public/index.html | 3 +- .../{rollup.config.js => rollup.config.mjs} | 3 +- frontend/src/components/MessageInput.svelte | 4 +- .../src/components/PresenceSidebar.svelte | 1 - frontend/src/main.js | 1 + frontend/{public => src/styles}/global.css | 6 +- frontend/yarn.lock | 390 +++++------------- 8 files changed, 111 insertions(+), 310 deletions(-) rename frontend/{rollup.config.js => rollup.config.mjs} (93%) rename frontend/{public => src/styles}/global.css (98%) diff --git a/frontend/package.json b/frontend/package.json index 3fc5fe7..e20cfef 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -8,14 +8,13 @@ }, "devDependencies": { "@material-design-icons/font": "^0.14.2", - "@rollup/plugin-commonjs": "^22.0.2", - "@rollup/plugin-node-resolve": "^13.3.0", - "rollup": "^2.78.1", + "@rollup/plugin-commonjs": "^23.0.4", + "@rollup/plugin-node-resolve": "^15.0.1", + "@rollup/plugin-terser": "^0.1.0", + "rollup": "^3.7.0", "rollup-plugin-copy": "^3.4.0", - "rollup-plugin-css-only": "^3.1.0", - "rollup-plugin-livereload": "^2.0.5", + "rollup-plugin-css-only": "^4.3.0", "rollup-plugin-svelte": "^7.1.0", - "rollup-plugin-terser": "^7.0.2", - "svelte": "^3.49.0" + "svelte": "^3.54.0" } } diff --git a/frontend/public/index.html b/frontend/public/index.html index a309993..7b34d93 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -13,10 +13,9 @@ waffle - - + diff --git a/frontend/rollup.config.js b/frontend/rollup.config.mjs similarity index 93% rename from frontend/rollup.config.js rename to frontend/rollup.config.mjs index 1854180..3ac16b9 100644 --- a/frontend/rollup.config.js +++ b/frontend/rollup.config.mjs @@ -1,8 +1,7 @@ import svelte from 'rollup-plugin-svelte'; import commonjs from '@rollup/plugin-commonjs'; import resolve from '@rollup/plugin-node-resolve'; -import livereload from 'rollup-plugin-livereload'; -import { terser } from 'rollup-plugin-terser'; +import terser from '@rollup/plugin-terser'; import css from 'rollup-plugin-css-only'; import copy from 'rollup-plugin-copy'; diff --git a/frontend/src/components/MessageInput.svelte b/frontend/src/components/MessageInput.svelte index 2232c80..ab5ca3a 100644 --- a/frontend/src/components/MessageInput.svelte +++ b/frontend/src/components/MessageInput.svelte @@ -1,7 +1,6 @@