We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f48143b commit f3f0238Copy full SHA for f3f0238
config/webpack.config.dev.cjs
@@ -5,9 +5,11 @@ const {
5
UserScriptMetaDataPlugin,
6
} = require("userscript-metadata-webpack-plugin");
7
8
-const metadata = require("./metadata.cjs");
+const baseMetadata = require("./metadata.cjs");
9
const webpackConfig = require("./webpack.config.base.cjs");
10
11
+const metadata = structuredClone(baseMetadata);
12
+
13
metadata.require.push(
14
"file://" + path.resolve(__dirname, "../dist/index.debug.js")
15
);
0 commit comments