Blame view

webpack.config.js 808 Bytes
3a3ecabe   Imshann   init
1
2
3
4
5
6
7
8
  const path = require("path");
  
  module.exports = {
      // mode: "production",
      mode: "development",
      entry: "./build/index.js",
      output: {
          // bpms
f886eef1   Imshann   优化Alert、Breadcrumb
9
          // path: "/Users/shann/Project/essa/bpms/bpms-webapp/src/main/webapp/lib/ng-antd",
3a3ecabe   Imshann   init
10
          // boss
cc35f3f0   Imshann   feat(table): 优化组件
11
          // path: "/Users/shann/Project/essa/boss/trunk/vendor-lib/ng-antd",
3a3ecabe   Imshann   init
12
          // mvo
710b4ac0   Imshann   优化
13
          // path: "/Users/shann/Project/essa/mvo/mvo-webapp/public/browser-vendor/ng-antd",
3a3ecabe   Imshann   init
14
          // local
f886eef1   Imshann   优化Alert、Breadcrumb
15
          path: path.resolve(__dirname, "dist"),
3a3ecabe   Imshann   init
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
          filename: "ng-antd.js",
      },
      module: {
          rules: [
              {
                  test: /\.html$/i,
                  loader: "html-loader",
              },
              {
                  test: /\.css$/i,
                  use: ["css-loader"],
              },
          ],
      },
  };