From 76b37027b96e2556cd48c6119b4d9949491af976 Mon Sep 17 00:00:00 2001 From: Chen Tao <3413218@gmail.com> Date: Wed, 17 Apr 2019 16:35:19 +0800 Subject: [PATCH] chore : update build config (#14821) --- build/config.js | 2 +- build/webpack.conf.js | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/build/config.js b/build/config.js index 5da3e1a7ed..eaaa990afd 100644 --- a/build/config.js +++ b/build/config.js @@ -46,4 +46,4 @@ exports.vue = { amd: 'vue' }; -exports.jsexclude = /node_modules|utils\/popper\.js|utils\/date.\js/; +exports.jsexclude = /node_modules|utils\/popper\.js|utils\/date\.js/; diff --git a/build/webpack.conf.js b/build/webpack.conf.js index ae38e4c759..72dac87f52 100644 --- a/build/webpack.conf.js +++ b/build/webpack.conf.js @@ -61,18 +61,6 @@ module.exports = { preserveWhitespace: false } } - }, - { - test: /\.css$/, - loaders: ['style-loader', 'css-loader'] - }, - { - test: /\.(svg|otf|ttf|woff2?|eot|gif|png|jpe?g)(\?\S*)?$/, - loader: 'url-loader', - query: { - limit: 10000, - name: path.posix.join('static', '[name].[hash:7].[ext]') - } } ] },