From 73d138d8b0260e048365482dff85d4e833e14f89 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 23 Apr 2022 03:24:24 +0900 Subject: [PATCH] wip --- packages/backend/src/config/load.ts | 2 +- packages/client/package.json | 2 - packages/client/src/components/signup.vue | 2 +- packages/client/src/scripts/emojilist.ts | 2 +- packages/client/src/scripts/theme.ts | 36 ++++++------ packages/client/src/store.ts | 7 ++- packages/client/vite.config.ts | 17 ++---- packages/client/yarn.lock | 67 ++--------------------- 8 files changed, 34 insertions(+), 101 deletions(-) diff --git a/packages/backend/src/config/load.ts b/packages/backend/src/config/load.ts index 1b18612e98..c2e6bea45e 100644 --- a/packages/backend/src/config/load.ts +++ b/packages/backend/src/config/load.ts @@ -25,7 +25,7 @@ const path = process.env.NODE_ENV === 'test' export default function load() { const meta = JSON.parse(fs.readFileSync(`${_dirname}/../../../../built/meta.json`, 'utf-8')); - const clientManifest = JSON.parse(fs.readFileSync(`${_dirname}/../../../../built/manifest.json`, 'utf-8')); + const clientManifest = JSON.parse(fs.readFileSync(`${_dirname}/../../../../built/_client_dist_/manifest.json`, 'utf-8')); const config = yaml.load(fs.readFileSync(path, 'utf-8')) as Source; const mixin = {} as Mixin; diff --git a/packages/client/package.json b/packages/client/package.json index 7153b89e4b..62f6867c71 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -13,9 +13,7 @@ "@discordapp/twemoji": "13.1.1", "@fortawesome/fontawesome-free": "6.1.1", "@rollup/plugin-alias": "3.1.9", - "@rollup/plugin-commonjs": "21.1.0", "@rollup/plugin-json": "4.1.0", - "@rollup/plugin-node-resolve": "13.2.1", "@syuilo/aiscript": "0.11.1", "@typescript-eslint/parser": "5.18.0", "@vitejs/plugin-vue": "2.3.1", diff --git a/packages/client/src/components/signup.vue b/packages/client/src/components/signup.vue index 38a9fd55f1..62f370ffa8 100644 --- a/packages/client/src/components/signup.vue +++ b/packages/client/src/components/signup.vue @@ -67,7 +67,7 @@