microbundle
microbundle copied to clipboard
📦 Zero-configuration bundler for tiny modules.
Actual: ``` warning microbundle > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser warning microbundle > @rollup/plugin-commonjs > magic-string > [email protected]: Please use @jridgewell/sourcemap-codec...
Splitting this off as a new issue so it can be tracked more easily. See the original issue for more context: > `output.sourcemapIgnoreList` was added to `rollup` in `3.16.0` (`2023-02-17`):...
Introduce the `x_google_ignoreList` extension in the sourcemaps generated by this project. This will facilitate a more streamlined debugging experience in Chrome (and other supporting browsers) by automatically filtering out framework...
### Description Build failed when destructing rest parameters ### Version microbundle@^0.15.1 ### Reproduce steps 1. input file ``` // test.ts export function A(...[a, b]: any[]) {} ``` 2. build `microbundle...
### description async function with rest parameters seems got wrong function scope after transpiled ### version microbundle@^0.15.1 ### reproduce demo ``` // tsconfig.json { "compilerOptions": { "esModuleInterop": true, "target": "ES6",...
typescript 文档请参考:[https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencing) package.json ``` "type": "module", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default":"./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default":"./dist/index.cjs" } } },...
Similar to https://github.com/developit/microbundle/issues/989, but now occurring only when Microbundle's target is not Node.js. I'm compiling a library that runs in both Node.js and a browser, and the library contains dynamic...
'use client'
Hi, I'm the maintainer of [react-lenis](https://github.com/studio-freight/react-lenis) package and some people complain about using the library in next.js app context usage. In fact it requires 'use client' directive on top of...
I have a project where I have a main-export and multiple other exports. The other exports are extensions that depend on the main-export, but I don't want them to be...
**Context:** As documented in #454 and [*How Microbundle decides which dependencies to bundle*](https://github.com/developit/microbundle/wiki/How-Microbundle-decides-which-dependencies-to-bundle#1-i-want-to-bundle-a-dependency), one recommended way to bundle dependencies is to put the dependency in `devDependencies` rather than `dependencies`. **Problem:**...