MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / createConfig

Function createConfig

src/danfojs-browser/webpack.config.js:4–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2const path = require("path");
3
4const createConfig = () => {
5 return {
6 mode: "production",
7 devtool: "source-map",
8 context: path.resolve(__dirname),
9 entry: {
10 index: `./src/index.ts`
11 },
12 target: "web",
13 output: {
14 path: path.resolve(__dirname, "lib"),
15 filename: "bundle.js",
16 library: "dfd"
17 },
18 module: {
19 rules: [
20 {
21 test: /\.tsx?$/,
22 use: [ 'ts-loader', 'ify-loader' ],
23 exclude: /node_modules/
24 }
25 ]
26 },
27 resolve: {
28 extensions: [ '.tsx', '.ts', '.js' ]
29 }
30 };
31};
32
33module.exports = [
34 createConfig()

Callers 1

webpack.config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected