From 14e9fddf77ebd776a45af7f1acba61fd7cd780d5 Mon Sep 17 00:00:00 2001 From: alan Date: Fri, 25 Oct 2019 10:44:18 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=8E=BB=E6=8E=89babel/polyfill?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - webpack/webpack.dev.js | 4 ++-- webpack/webpack.prod.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 764e348..fe532bf 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "@babel/core": "7.4.5", "@babel/plugin-proposal-class-properties": "^7.5.0", "@babel/plugin-proposal-decorators": "7.4.4", - "@babel/polyfill": "7.4.4", "@babel/preset-env": "7.4.5", "@babel/preset-typescript": "7.3.3", "@types/jest": "24.0.11", diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index ec5e10f..8e94d1d 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.js @@ -36,7 +36,7 @@ chokidar module.exports = merge(common, { devtool: 'eval-source-map', entry: { - show: ['@babel/polyfill', './src/i18n.ts', './src/index.ts'], + show: ['./src/i18n.ts', './src/index.ts'], }, output: { path: dirs.DEST, @@ -48,7 +48,7 @@ module.exports = merge(common, { liveReload: true, proxy: { '/webroot/decision/v10': { - target: 'http://localhost:8075', + target: 'http://api.fanruan.design/mock/135', secure: false, }, '/webroot/decision/resources': { diff --git a/webpack/webpack.prod.js b/webpack/webpack.prod.js index 619c41a..d71dcd3 100644 --- a/webpack/webpack.prod.js +++ b/webpack/webpack.prod.js @@ -12,7 +12,7 @@ module.exports = merge.smart(common, { devtool: 'hidden-source-map', entry: { - show: ['@babel/polyfill/noConflict', './src/modules/app.ts'], + show: ['./src/modules/app.ts'], }, output: { path: dirs.DEST,