Navigation Menu

Skip to content

Commit

Permalink
fix: fix commonsChunk_filename ext_name bug in the build file
Browse files Browse the repository at this point in the history
  • Loading branch information
sean committed Aug 10, 2017
1 parent cc7529d commit 28aed93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/Project.js
Expand Up @@ -317,7 +317,7 @@ var Project = function () {

if (chunks.length > 0) {
var chunkFilename = filenameTpl.filename;
chunkFilename = chunkFilename.replace("[ext]", '.js');
chunkFilename = chunkFilename.replace('[ext]', '.js');
webpackConfig.plugins.push(new webpack.optimize.CommonsChunkPlugin({
name: chunks,
filename: chunkFilename,
Expand Down

0 comments on commit 28aed93

Please sign in to comment.