From 83ecd84d78ec0abb79b7fdb0ac7deb30caa51487 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 12 Nov 2017 10:38:35 +1300 Subject: [PATCH] makefile: fix webpack path to bundle.min.js file --- Makefile | 1 + webpack.config.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 +};