deno run -A build-script.ts ./build-strip-extension.ts ./typescript ./typescript-node
: from ./typescript to ./typescript-node, transforming each .ts file's import into that which tsc will accept
tsc
: from ./typescript-node to ./ecmascript
npm pack
./build.sh
: bundles the above 3 steps
There is no building, import directly.