diff --git a/Makefile b/Makefile index 5378d55..8861b13 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ bindata.go: client client/* > clientpack/index.htm html-minifier --collapse-whitespace -o clientpack/index.min.htm clientpack/index.htm mv clientpack/index.min.htm clientpack/index.htm + rm clientpack/bundle.min.js go-bindata -nomemcopy -nometadata -prefix clientpack clientpack $(BINNAME).exe: bindata.go *.go diff --git a/webpack.config.js b/webpack.config.js index d14067f..024c2dc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ module.exports = { entry: "./client/dcwebui.js", output: { path: __dirname, - filename: "clientpack/bundle.js" + filename: "clientpack/bundle.min.js" }, module: { loaders: [ @@ -18,4 +18,4 @@ module.exports = { } }) ] -}; \ No newline at end of file +};