summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/test/reload/webpack.config.js
blob: e26b42cd4c61637f8382f3b43fd06b1be915a737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
const path = require("path");

module.exports = [1, 2].map(version => {
  return {
    devtool: "source-map",
    mode: "development",
    entry: [path.join(__dirname, `/v${version}/code_reload_${version}.js`)],
    output: {
      path: __dirname,
      filename: `v${version}/code_bundle_reload.js`,
    },
  };
});