Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mysticatea/rollup-issue
https://github.com/mysticatea/rollup-issue
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mysticatea/rollup-issue
- Owner: mysticatea
- License: mit
- Created: 2018-05-23T21:04:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T10:20:01.000Z (over 6 years ago)
- Last Synced: 2024-05-02T06:14:42.735Z (8 months ago)
- Language: JavaScript
- Size: 1.99 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# An issue of rollup.js
**This has been fixed in [rollup/rollup#2218](https://github.com/rollup/rollup/pull/2218)**.
I tried to rollup the typescript language service (this will be run in a WebWorker) in [MonacoEditor] library, but it didn't finish in over 30 minutes.
I suspected it might dive into infinite looping because it was using a CPU core heavily with no warnings.
## Repro steps
1. `git clone https://github.com/mysticatea/rollup-issue.git`
1. `cd rollup-issue`
1. `npm install`
1. `npm test` (it runs `node_modules/.bin/rollup -c`)The configuration file is simple:
```js
export default {
input: require.resolve("monaco-editor/esm/vs/language/typescript/ts.worker.js"),
output: {
file: "dist/ts.worker.js",
format: "iife",
name: "tsWorker",
}
}
```[MonacoEditor]: https://github.com/Microsoft/monaco-editor