1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
override_dh_auto_build:
webpack --config debian/webpack.config.js --output-library=URLParse \
--entry index.js --output-path ./dist --output-filename url-parse.js \
--mode development
webpack --config debian/webpack.config.js --output-library=URLParse \
--entry index.js --output-path ./dist --output-filename url-parse.min.js \
--mode production
override_dh_auto_clean:
rm -rf dist node_modules/.cache
|