#!/bin/sh -e

pkgjs-ln lodash-es
pkgjs-ln '@types/lodash-es'
ln -s .. node_modules/dagre-d3-es

rsync -av src/ srcdist --exclude '*.test.js'
#tsc srcdist/index.js --AllowJs --checkJs --outDir dist/ --lib esnext,dom --declaration
tsc --project tsconfig.json
rollup -c debian/nodejs/rollup.config.mjs

