userscript...
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user