userscript...

This commit is contained in:
Gabe Yuan
2023-08-06 21:45:05 +08:00
parent fef4d50977
commit 5e7a8cca3d
58 changed files with 56051 additions and 13111 deletions

View File

@@ -99,7 +99,6 @@ const userscriptWebpack = (config, env) => {
// @connect api-edge.cognitive.microsofttranslator.com
// @connect edge.microsoft.com
// @connect api.openai.com
// @connect localhost
// ==/UserScript==
`;
@@ -130,6 +129,8 @@ const webWebpack = (config, env) => {
options: paths.appSrc + "/userscriptOptions.js",
};
config.output.filename = "[name].js";
config.plugins = config.plugins.filter(
(plugin) => !names.includes(plugin.constructor.name)
);