pkgroll
pkgroll copied to clipboard
📦 Zero-config package bundler for Node.js + TypeScript
Closes #13. It can be interpreted as a breaking change for anyone who still has Node
from https://github.com/esbuild-kit/tsx/issues/53
While writing some tests for #11, I was a little confused about [this test](https://github.com/privatenumber/pkgroll/blob/17b488012a60efcc7564a6bd3199dafc5bff24d6/tests/specs/builds/src-dist.ts#L88) for the `--dist` flag. Is it intended for the command to be used as `pkgroll --dist...
The `dist` folder end up becoming very polluted at times, especially when you delete a source file which still leaves its bundled-up counterpart in the `dist` folder. Either cleaning up...
I think having the default target to be reliant on `process.versions.node` creates a lot of inconsistency especially if you use a multitude of environments such as local and CI. To...
I think the current version doesn't work to include the hashbang for any files included in the `bin` field of `package.json`. Or more accurately, I don't think the bundler even...
Love this bundler and I appreciate the peace of mind having not to configure anything for things to just work. Vitest does support [in-source testing](https://vitest.dev/guide/in-source.html) which I think is great...
### Problem The type definition file generated for CommonJS output using `module.exports = ` syntax is not consumable by TS projects without `esModuleInterop` enabled or JS projects with type checking...