From 56fb9bfb4a0b8a8e873bfc1b78480d87804d5d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=84=86=E8=96=AF=E9=A5=BC?= Date: Sun, 1 Dec 2024 01:45:01 +0800 Subject: [PATCH] build: config Update arguments-builder.config.ts --- arguments-builder.config.ts | 8 ++++---- rspack.config.js | 1 + rspack.dev.config.js | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arguments-builder.config.ts b/arguments-builder.config.ts index d04362e..cc5062a 100644 --- a/arguments-builder.config.ts +++ b/arguments-builder.config.ts @@ -4,6 +4,10 @@ export default defineConfig({ output: { surge: { path: "./dist/DualSubs.Spotify.sgmodule", + transformEgern: { + enable: true, + path: "./dist/DualSubs.Spotify.yaml", + }, }, loon: { path: "./dist/DualSubs.Spotify.plugin", @@ -17,10 +21,6 @@ export default defineConfig({ path: "./dist/DualSubs.Spotify.stoverride", template: "./template/stash.handlebars", }, - { - path: "./dist/DualSubs.Spotify.yaml", - template: "./template/egern.handlebars", - }, ], dts: { isExported: true, diff --git a/rspack.config.js b/rspack.config.js index ded5af4..0cfc134 100644 --- a/rspack.config.js +++ b/rspack.config.js @@ -35,5 +35,6 @@ export default defineConfig({ banner: pkg.homepage, }), ], + devtool: false, performance: false, }); diff --git a/rspack.dev.config.js b/rspack.dev.config.js index 3abe66f..a4a0b23 100644 --- a/rspack.dev.config.js +++ b/rspack.dev.config.js @@ -35,5 +35,6 @@ export default defineConfig({ banner: pkg.homepage, }), ], + devtool: false, performance: false, });