File: make.webpack.config.js

package info (click to toggle)
jupyterlab 4.0.11%2Bds1%2B~cs11.25.27-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 43,496 kB
  • sloc: javascript: 18,395; python: 8,932; sh: 399; makefile: 95; perl: 33; xml: 1
file content (15 lines) | stat: -rw-r--r-- 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const path = require("path");
var DuplicatePackageCheckerPlugin = require("../../src");

module.exports = function(options, mode = "development") {
  return {
    entry: "./entry.js",
    mode,
    context: __dirname,
    output: {
      path: path.resolve(__dirname, "dist"),
      filename: "bundle.js"
    },
    plugins: [new DuplicatePackageCheckerPlugin(options)]
  };
};