From ac8d2673614cba2458fbc20b7717eca01abbe8a7 Mon Sep 17 00:00:00 2001 From: nesxy Date: Mon, 18 Mar 2019 18:36:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BD=8E=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E5=AF=B9es6=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.base.conf.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 9ce09ed..18cd222 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -7,7 +7,7 @@ const vuxLoader = require('vux-loader') var config = require('../config') var vueLoaderConfig = require('./vue-loader.conf') -var webpack = require("webpack") +var webpack = require("webpack") function resolve (dir) { return path.join(__dirname, '..', dir) @@ -15,7 +15,7 @@ function resolve (dir) { let webpackConfig = { entry: { - app: './src/main.js' + app: ["babel-polyfill", "./src/main.js"] }, output: { path: config.build.assetsRoot, @@ -74,4 +74,4 @@ let webpackConfig = { module.exports = vuxLoader.merge(webpackConfig, { plugins: ['vux-ui', 'progress-bar', 'duplicate-style'] -}) \ No newline at end of file +})