File: rules

package info (click to toggle)
node-magic-string 0.25.7-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 380 kB
  • sloc: makefile: 5
file content (8 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/usr/bin/make -f

%:
	dh $@ --with nodejs

override_dh_auto_build:
	rollup -c && rollup -c --environment ES && rollup -c --environment DEPS
	sed -i dist/magic-string.umd.js -e "s/export.__esModule = true;/object.defineProperty(exports, '__esModule', {value: true});/g"