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

Hi~ How to build this code with `unbuild --stub`? ```typescript // src/index.ts console.log(import.meta) ``` Re: https://github.com/unjs/jiti/issues/32

[Code](https://github.com/CerusBots/webapp/commit/93de5a8cb764fe05a1055325c3e11686610a36ed) When built with `npm run build:js`, all of the files in `dist/chunks/` have a variable called `__rest$[num]` with `[num]` being a random number. This looks to be used for...

index.ts: ```ts import ora from 'ora' const spinner = ora('Starting...').start() spinner.succeed('Done!') ``` build.config.ts: ```ts export default defineBuildConfig({ entries: [ 'index', ], rollup: { emitCJS: true, }, }) ``` run `unbuild...

## Description - The printed file size (content size) is inconsistent with the actual size after building completed ![image](https://user-images.githubusercontent.com/8007202/171601145-c98fb79a-b880-4928-a2bc-9c63e6286ef2.png) ## Expect 960 bytes ## Actual 2.76kB ## Reproduction - clone...

For now, unbuild generates `React.createElement` on jsx, and the new jsx transform has been introduced for [more than a year](https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html). Is it possible to support the new jsx transform in...

Though it might be possible to use nodemon to achieve this, it would still be nice to have a watch mode built-in unbuild.

Currently `unbuild`'s install size is around 90MB which is huge. https://packagephobia.com/result?p=unbuild And I found `typescript` is on dependencies. https://github.com/unjs/unbuild/blob/e710503cda58a2691a6ed04abe91c346dae66d21/package.json#L51 `typescript` alone is around 60MB. https://packagephobia.com/result?p=typescript Can we make `typescript` as...