Skip to content

Commit

Permalink
build: config
Browse files Browse the repository at this point in the history
Update arguments-builder.config.ts
  • Loading branch information
VirgilClyne committed Nov 30, 2024
1 parent b5bfa56 commit 1e089be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
16 changes: 4 additions & 12 deletions arguments-builder.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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,
Expand All @@ -32,14 +32,6 @@ export default defineConfig({
},
},
args: [
{
key: "Switch",
name: "总功能开关",
defaultValue: true,
type: "boolean",
description: "是否启用此APP修改",
exclude: ["surge", "loon"],
},
{
key: "Types",
name: "[歌词] 启用类型(多选)",
Expand Down
1 change: 1 addition & 0 deletions rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ export default defineConfig({
banner: pkg.homepage,
}),
],
devtool: false,
performance: false,
});
1 change: 1 addition & 0 deletions rspack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ export default defineConfig({
banner: pkg.homepage,
}),
],
devtool: false,
performance: false,
});

0 comments on commit 1e089be

Please sign in to comment.