Jason Miller

Results 1189 comments of Jason Miller

The fix should be shipped - the only issue was that we forcibly transpile async to promises for Node.

I believe you can do this: ``` - app - src // Root of the app logic - index.tsx - public // Root for the static assets - index.html -...

File URLs aren't supported because they're fundamentally different from paths - that's the reason for the CORS error. It seems like the default `src` alias isn't being applied - I'd...

Hiya @ricokahler! In order to support native ESM in Node, `.mjs` is required: ```js { "name": "color2k", "sideEffects": false, // CJS: "main": "./dist/index.js", "exports": { // Node CJS: "require": "./dist/index.js",...

Microbundle should just use the extension you specify in your package.json. It doesn't right now, which is a bug.

2-5 minutes is the longest I've ever heard of Microbundle taking. Are you bundling something massive? It usually takes 2-5 _seconds_.

@ps-rakeshchintha it's a long shot, but could you check to see if your builds still take 2 minutes when you comment out `import "whatwg-fetch"`?

@MarkLyck any chance your project is Open Source? I would love to have a repository I could use to get to the bottom of this. Builds should not be taking...

@MarkLyck ah - react-admin is 250kb and not particularly tree-shakeable. 50s isn't great honestly, but it's not totally outlandish for the amount of code being processed. One thing I am...

@MarkLyck I'd recommend disabling UMD output in your case, since the names it's guessing are going to be incorrect: ``` microbundle -f es,cjs,modern ``` This will speed up the build...