makefile: fix webpack path to bundle.min.js file

This commit is contained in:
mappu 2017-11-12 10:38:35 +13:00
parent 055a73fb05
commit 83ecd84d78
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -4,7 +4,7 @@ module.exports = {
entry: "./client/dcwebui.js",
output: {
path: __dirname,
filename: "clientpack/bundle.js"
filename: "clientpack/bundle.min.js"
},
module: {
loaders: [