sheetjs/demos/webpack/Makefile

16 lines
432 B
Makefile
Raw Normal View History

TOOL=webpack
WPOPTS=--display-modules --display-reasons --profile --mode=development
.PHONY: all
2017-09-24 23:40:09 +00:00
all: main.min.js core.out.js full.out.js app.out.js
2017-09-24 23:40:09 +00:00
main.min.js: main.out.js
uglifyjs $< > $@
2017-09-24 23:40:09 +00:00
.PHONY: main.out.js core.out.js full.out.js
main.out.js core.out.js full.out.js: %.out.js: %.js
webpack $< --output-filename $@ $(WPOPTS)
2017-09-24 23:40:09 +00:00
.PHONY: app.out.js
app.out.js: webpack.app.js app.js appworker.js
webpack --config $< $(WPOPTS)