Browse Source

Pull request #2354: BI-98719 fix: 【5.1.20_release发散】本地工程启动页面空白

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '8038552ddc5cc452ccc9abf0d034019670113179':
  BI-98719 fix: 【5.1.20_release发散】本地工程启动页面空白
es6
Dailer 3 years ago
parent
commit
0f94e1eedf
  1. 1
      webpack/dirs.js
  2. 2
      webpack/webpack.common.js

1
webpack/dirs.js

@ -5,6 +5,7 @@ module.exports = {
PRIVATE: path.resolve(__dirname, "../private"),
BABEL_CONFIG: path.resolve(__dirname, "../babel.config.js"),
TYPESCRIPT: path.resolve(__dirname, "../typescript"),
ROUTER: path.resolve(__dirname, "../src/router"),
SRC: path.resolve(__dirname, "../src"),
DEMO: path.resolve(__dirname, "../demo"),
PUBLIC: path.resolve(__dirname, "../public"),

2
webpack/webpack.common.js

@ -38,7 +38,7 @@ module.exports = {
rules: [
{
test: /\.(js|ts)$/,
include: [dirs.NODE_MODULES, dirs.PRIVATE, dirs.TYPESCRIPT],
include: [dirs.NODE_MODULES, dirs.PRIVATE, dirs.TYPESCRIPT, dirs.ROUTER],
exclude: /node_modules(\/|\\)core-js/,
use: [
{

Loading…
Cancel
Save