From c91bcd28f01e8aaf257bb3568f8cb70c93d6a117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Tue, 2 Apr 2019 12:01:26 +0800 Subject: [PATCH] bugfix: fix#3891 ,dll config error --- config/config.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.js b/config/config.js index 934569dc..c68107bd 100644 --- a/config/config.js +++ b/config/config.js @@ -38,7 +38,7 @@ const plugins = [ ? { dll: { include: ['dva', 'dva/router', 'dva/saga', 'dva/fetch'], - exclude: ['@babel/runtime'], + exclude: ['@babel/runtime', 'netlify-lambda'], }, hardSource: false, } diff --git a/package.json b/package.json index af94ef99..a478f149 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,6 @@ "react-dom": "^16.7.0", "react-fittext": "^1.0.0", "react-media": "^1.9.2", - "serverless-http": "^1.9.1", "umi": "^2.4.4", "umi-plugin-react": "^1.7.2", "umi-request": "^1.0.5" @@ -123,7 +122,8 @@ "tslint": "^5.12.1", "tslint-config-prettier": "^1.17.0", "tslint-react": "^3.6.0", - "umi-plugin-ga": "^1.1.3" + "umi-plugin-ga": "^1.1.3", + "serverless-http": "^1.9.1" }, "optionalDependencies": { "puppeteer": "^1.12.1" -- GitLab