@@ -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"]
}),