Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
Signed-off-by: Kang Huaishuai <[email protected]>
  • Loading branch information
khs1994 committed Jun 16, 2021
1 parent a54490e commit e3fec29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/builds/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ $('.trigger_build_modal_button').on('click', () => {
history.pushState(
{ key_id: 'buildNav' },
null,
url.getRepoFullNameUrl() + '/builds/' + res.build_id,
url.getRepoFullNameUrl() + '/builds',
);

location.reload();
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ let config = {
],
optimization: {
minimize: true, //是否进行代码压缩
emitOnErrors: false, // 5.0
// noEmitOnErrors: true, // 4.0 //取代 new webpack.NoEmitOnErrorsPlugin(),编译错误时不打印输出资源。
emitOnErrors: false, // v5
// noEmitOnErrors: true, // v4 //取代 new webpack.NoEmitOnErrorsPlugin(),编译错误时不打印输出资源。

// runtimeChunk: 'single',
// v4 add, replace CommonsChunkPlugin
Expand Down

0 comments on commit e3fec29

Please sign in to comment.