Debian Codegraph @

packages/babel-helper-define-polyfill-provider/test/spawn-fixtures/webpack/webpack.config.js

raw symbols SCIP
1 const path = require("path");
2
3 module.exports = {
4 mode: "development",
5
6 entry: path.join(__dirname, "src/main.js"),
7 output: {
8 hashFunction: "sha256",
9 path: __dirname,
10 filename: "output.js",
11 },
12
13 module: {
14 rules: [
15 {
16 test: /\.js$/,
17 loader: "babel-loader",
18 options: {
19 plugins: [
20 [
21 require("../../helpers/generic-provider.js"),
22 {
23 method: "usage-global",
24 globals: {
25 a: "___a___not_a_real_pkg___",
26 b: "___b___not_a_real_pkg___",
27 c: "___c___not_a_real_pkg___",
28 },
29 missingDependencies: { all: true },
30 },
31 ],
32 ],
33 },
34 },
35 ],
36 },
37
38 devtool: false,
39 };