From 686c6212297d0ad77ded8c7331cc847aa6e5093e Mon Sep 17 00:00:00 2001 From: shinytang6 <1074461480@qq.com> Date: Mon, 26 Mar 2018 20:05:39 +0800 Subject: [PATCH] [Packaging] updated webpack configuration --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index e7b9345b..3a4847be 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -67,5 +67,8 @@ module.exports = { require('precss'), require('autoprefixer') ]; - } + }, + externals: [{ + xmlhttprequest:'{XMLHttpRequest:XMLHttpRequest}' + }] };