Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/07akioni/rollup-bug


https://github.com/07akioni/rollup-bug

Last synced: 28 days ago
JSON representation

Awesome Lists containing this project

README

        

# Usage
Redundant import generated by `rollConfig.treeshake = false` may create unusable output (for rollup it self).

```bash
npm run rollup-app-no-shake
# { a: 'a', b: undefined } not correct

npm run rollup-app
# { a: 'a', b: [ 'b', 'a' ] } correct

npm run webpack-app-no-shake
# { a: 'a', b: [ 'b', 'a' ] } correct

npm run webpack-app
# { a: 'a', b: [ 'b', 'a' ] } correct
```