perf[chore]: webpack

This commit is contained in:
Pan
2018-01-31 15:33:34 +08:00
parent e504ae533a
commit 56f67f0538
4 changed files with 26 additions and 10 deletions

View File

@@ -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).