unbuild icon indicating copy to clipboard operation
unbuild copied to clipboard

πŸ“¦ An unified javascript build system

Results 145 unbuild issues
Sort by recently updated
recently updated
newest added

### Environment Node 22.15.0 unbuild 3.4.0 ### Reproduction https://stackblitz.com/edit/node-eufscqik?file=index.ts&terminal=dev ### Describe the bug For a module using arbitrary module namespace identifier names feature (https://github.com/tc39/ecma262/pull/2154), unbuild generates a stub file that...

bug

### Environment Node 22.15.0 unbuild 3.5.0 ### Reproduction https://stackblitz.com/edit/node-vefv5aqh?file=package.json,build.config.ts&terminal=build ### Describe the bug The CJS output has ```js exports.default = d; exports.foo = foo; ``` but the types (`index.d.cts`, `index.d.ts`)...

bug

### Environment ------------------------------ - Operating System: Linux - Node Version: v22.14.0 - Package Manager: [email protected] - Unbuild Version: v3.5.0 ------------------------------ ### Reproduction Any simple dummmy repo with the config: ```ts...

bug

This PR focus on the build validation: - Added "shamefully hoisted dependencies" validation If a package is directly referenced by the source code (not from nested `node_modules`) and isn’t listed...

### Describe the feature Overall coverage is low. ![Image](https://github.com/user-attachments/assets/ddaf293d-cbf3-4f3b-bea5-c3777fd35cfe) May I write the test code? πŸ™‹ ### Additional information - [x] Would you be willing to help implement this feature?

enhancement

### Describe the feature Should we also warn if users reference shamefully hoisted dependencies? Even if users set `inlineDependencies: true`, but that's still a smell. WDYT πŸ€” https://stackblitz.com/edit/github-oqjdhwwq?file=.npmrc,src%2Findex.ts&startScript=build ### Additional...

enhancement

Right now, we're generating wrong CJS `d.ts` files based on declaration option and we shoud check the package is **NOT ESM** ; we only need to transform `d.ts` files when...

Same fix as https://github.com/unjs/c12/pull/242

### Environment `[email protected]` ### Reproduction https://stackblitz.com/edit/github-8qb4tr6d?file=package.json&startScript=build ### Describe the bug `lodash` is installed as a dependency but isn't referenced in the source code. The build should warn for this unused...

bug