Parcourir la source

chore : update build config (#14821)

Chen Tao il y a 6 ans
Parent
commit
76b37027b9
2 fichiers modifiés avec 1 ajouts et 13 suppressions
  1. 1 1
      build/config.js
  2. 0 12
      build/webpack.conf.js

+ 1 - 1
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/;

+ 0 - 12
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]')
-        }
       }
     ]
   },