diff --git a/src/index.html b/src/index.html index 05566d3..971bf4e 100644 --- a/src/index.html +++ b/src/index.html @@ -28,7 +28,6 @@ -
@@ -199,6 +198,7 @@

月神镰刀

function terminateWorker() { worker.terminate(); + setStatus('warning', 'Terminated.', `已终止。`); disableTerminateButton(); setupWorker(); enableRunButton(); diff --git a/webpack.config.js b/webpack.config.js index 9c69310..516d80b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -31,8 +31,10 @@ module.exports = { filename: './index.html', inlineSource: '.(js)', minify: { + collapseWhitespace: true, + minifyCSS: true, + minifyJS: true, removeComments: true, - collapseWhitespace: true }, chunks: ["index"] }),