--globals option
Open
enhancement
first release
- Dominant language
- OCaml
- Stars
- 2.3k
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Some modules account for certain global variables to exist at runtime. The most known examples are `global` and `process`. This option would permit to specify the JavaScript file to populate all the global variables bundle may need. It will be included at very top of the bundle.
By default the value included would be:
```
global = window;
process = { env: {NODE_ENV: ""}};
```
Thoughts?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.