2 ms·
So far parcel-bundler has been relatively no-hassle for me with Typescript. For multiple entry points you can just do stuff like "build": "npm-run-all build
by crooked-v 8y ago
So far parcel-bundler has been relatively no-hassle for me with Typescript. For multiple entry points you can just do stuff like
"build": "npm-run-all build",
"build:node": "parcel build -t node -d dist-node src/node-entry.ts",
"build:web": "parcel build -d dist-web src/web-entry.ts",
...which is a little extra boilerplate, but not too bad.