perf[Chore]: optimization.splitChunks adapt cnpm module name

This commit is contained in:
Pan
2019-04-08 21:45:10 +08:00
parent afb62edc58
commit c833cb6efa
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
app.listen(port, function () {
console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
if (report) {
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}/report.html`))
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
}
})