1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-21 23:12:19 +02:00

add docs and fix setOption in CodeEditor

This commit is contained in:
Kushagra Gour
2018-12-10 23:05:11 +05:30
parent 87a1e6c306
commit 4e4973bd91
2 changed files with 45 additions and 10 deletions

View File

@ -27,8 +27,13 @@ export default function(config, env, helpers) {
if (env.isProd) {
config.devtool = false; // disable sourcemaps
// To support chunk loading in root and also /app path
config.output.publicPath = './';
// Remove the default hash append in chunk name
config.output.chunkFilename = '[name].chunk.js';
config.plugins.push(
new CommonsChunkPlugin({
name: 'vendor',