File: rules

package info (click to toggle)
node-url-parse 1.5.10%2B~1.4.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 212 kB
  • sloc: javascript: 1,584; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 467 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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