makefile: fix webpack path to bundle.min.js file
This commit is contained in:
parent
055a73fb05
commit
83ecd84d78
1
Makefile
1
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
|
||||
|
@ -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 = {
|
||||
}
|
||||
})
|
||||
]
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user