microbundle icon indicating copy to clipboard operation
microbundle copied to clipboard

📦 Zero-configuration bundler for tiny modules.

Results 114 microbundle issues
Sort by recently updated
recently updated
newest added

add support for amd options https://rollupjs.org/guide/en/#outputamd

increased scope

I'm trying to setup `microbundle` to provide separate exports for several modules my package is exporting, like this: ```json { "name": "x", "type": "module", "version": "10.0", "author": "y", "license": "MIT",...

question :grey_question:

This follows up on @developit's [signal](https://github.com/developit/microbundle/pull/706#issuecomment-676516014) that ESM Import Maps is an interesting feature for microbundle. # TL;DR This PR is about supporting the [ahead-of-time rewriting](https://github.com/WICG/import-maps#ahead-of-time-rewriting) strategy that the [draft...

increased scope

This turns off `externalLiveBindings`, which generates getters for re-exported bindings. It also enables modern code generation for the modern bundles (arrow functions, object shorthand, etc).

I had this locally from a couple months ago, it's probably useless now though.

Now microbundle is use `exclude: 'node_modules/**'` to create babel config, I think it's reasonable when not inline dependencies. But if use inline dependencies... this options maybe is weird? ```typescript //...

1. The nameCache obtained in writebundle hook is not a reference to terseroptions 2. JSON.stringify(nameCache) requires converting regex to a string first. This commit fixes the problems related to terser...

Here is what I get when running `v14.2.0`: ``` > yarn run v1.22.19 $ npm-run-all --parallel build:* $ microbundle --cwd packages/api --tsconfig packages/api/tsconfig.json --target web --format modern,cjs && cp -l...

Fixes #963 Typo was from https://github.com/developit/microbundle/pull/950 We were missing tests for controlling the output filenames from `package.json` nearly entirely, both the common fields (`"main"`, `"module"`, etc.) and their alts (`"cjs:main"`,...

I am running into an error which I suspect to be caused by the release of React 17. @see https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html Typescript 4.1 followed by supporting as well the new `JSX`...

Feature Request