Debian Codegraph @

debian/nodejs/build

raw
1 rm -rf dist
2 tsc
3 if grep require dist/index.js; then
4 echo "Build result is not ES"
5 exit 1
6 fi
7 mjs2cjs -o dist/_index.cjs dist/index.js
8 cp debian/index.cjs dist/