You've already forked vue-element-admin
perf[chore]: webpack
This commit is contained in:
@@ -3,7 +3,6 @@ const path = require('path')
|
||||
const utils = require('./utils')
|
||||
const config = require('../config')
|
||||
const vueLoaderConfig = require('./vue-loader.conf')
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
||||
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '..', dir)
|
||||
@@ -87,13 +86,6 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins:[
|
||||
new CopyWebpackPlugin([
|
||||
{
|
||||
from: 'static/tinymce'
|
||||
}
|
||||
])
|
||||
],
|
||||
node: {
|
||||
// prevent webpack from injecting useless setImmediate polyfill because Vue
|
||||
// source contains it (although only uses it if it's native).
|
||||
|
||||
Reference in New Issue
Block a user