-
[Node.js can, to some extent, statically analyze exports when importing CJS from ESM, allowing for namespace imports](https://nodejs.org/api/esm.html#esm_commonjs_namespaces)
esbuild currently gene…
-
- Rollup Version: 1.15.5
- Operating System (or Browser): any
- Node Version: any
### How Do We Reproduce?
See this example:
https://rollupjs.org/repl?version=1.15.5&shareable=JTdCJTIybW9kd…
-
- Rollup Plugin Name: commonjs
- Rollup Plugin Version: 16.0.0
Documentation Is:
- [ ] Missing
- [ ] Needed
- [ ] Confusing
- [x] Not Sure?
### Please Explain in Detail...
Hi the…
-
### Feature Use Case
Currently, Rollup chases imports eagerly. However, if a dynamic import is located in a function that later gets shaken out, it was "all for nothing". Rollup could chase dyn…
-
Need Performance monitoring.
## Benchmark
- https://secretlint.github.io/secretlint/dev/bench/
-
### Documentation is
- [ ] Missing
- [ ] Needed
- [X] Confusing
- [ ] Not sure?
### Please Explain in Detail...
This URL: https://rollupjs.org/guide/en/#error-this-is-undefined
Says I c…
-
I want to merge the third dependency into the bundle file. According to the configuration of the official website, it does not take effect.
here is my code
rollup.config.js
```javascript
imp…
-
To support plain javascript, we are not using `const enum`s, increasing our code size footprint. With `--preserveConstEnums`, we could allow typescript users to optimize bundle size.
The enum objec…
-
When I pass on an invalid rollupjs format like `sadfsdfsdf` it does not complain. But should.
Here the gulp task I am using:
```js
gulp.task('browserify', ['clean:js'], function (cb) {
const…
-
### Rollup Version
3.12.0
### Operating System (or Browser)
macOS
### Node Version (if applicable)
16
### Link To Reproduction
https://stackblitz.com/edit/node-amzrdn?file=dist/_e…