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

Fixes #1041 `magic-string` is of course used by a ton of Rollup plugins, so this doesn't actually add anything to the dep tree.

When building [wrld.js](https://github.com/wrld3d/wrld.js) for CDN consumption, either by passing `--format umd` to the `microbundle` command, or calling `microbundle` without arguments so it uses the `"unpkg"` entry in `package.json`, the source...

I think it'd be great to be able to do this: package.json ```json5 { "name": "foo", // your package name "type": "module", "source": "src/foo.js", // your source code "exports": {...

Feature Request

input: ``` microbundle --define A='a',B='abc==' ``` Expected behavior: `B` replaced by 'abc==' Current behavior: `B` replaced by 'abc'

help wanted :wave:

Hey, i want to change the name of the css file that got bundled in dist folder from index.css to any name i want. like here in this image i...

Chunk file is suffixed with random string. Is it possible to set fixed file name for chunk files? ``` > microbundle --format=esm Build "foo" to dist: 67 B: foo.esm.js.gz 51...

Feature Request

When building a library, "pure" comments are often added to various bits and pieces to ensure tree-shaking works properly in the destination bundle. Compression via terser will automatically drop these...

I'm trying to use the [`postcss-url`](https://github.com/postcss/postcss-url) plugin to copy fonts that are imported by my CSS into the build directory. In order for it to work properly it requires the...

CSS

Hi, This is part of my package.json to use microbundle build 1 preact widget ``` "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.module.js", "umd:main": "dist/index.umd.js", "scripts": { "dev": "preact watch", "build:widget": "microbundle...

Builds upon #1081, closes #1067 CI will need a bump -- #1082