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

node core modules can imported with [`node:` prefix](https://nodejs.org/api/modules.html#core-modules), e.g. `require('node:fs')` don't seem to work. ![image](https://user-images.githubusercontent.com/183195/184065945-0e14f5ba-db78-46ca-9f34-377ec675b7a8.png)

Closes #857 If a user supplies `--jsxImportSource` we should remove `jsxFactory` and `jsxFragmentFactory` from the default `tsconfig` as they're mutually exclusive with `jsx: 'react-jsx'`.

Hi ## Error I've recently made the switch to microbundle for a project that uses Preact and TypeScript. Following the docs, and me having the latest version of TypeScript, I...

TypeScript

I've noticed following oddities when bundling for Node with the following command: ``` microbundle --target node --no-sourcemap -f cjs,esm --strict --types ``` When object spread operator is used (`{ ...defaults,...

For a while I have been using the following `babel` preset for production bundles: ``` ... "presets": [ [ "@babel/preset-env", { "targets": [ "defaults", "maintained node versions" ] } ]...

Hi! Was going to write this as a comment but I thought a functional PR would be a nicer way to make a proposal. A cleaned up version of this...

Hi. I'm following the example provided [here](https://github.com/developit/microbundle/issues/545#issuecomment-579869678) in order to bundle 3 different modules. The thing is that one of this modules requires the others, but when running `microbundle -f...

question :grey_question:
needs more info

This upgrades all dependencies, things to look into: - new export default format reason why - adding `@babel/plugin-proposal-private-property-in-object` silences loose warning but we might need to omit it for custom...

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

esbuild and swc come to mind, being able to sidestep TSC for build speed would be amazing. https://www.npmjs.com/package/rollup-plugin-swc https://www.npmjs.com/package/rollup-plugin-esbuild