Include babel-preset-minify in babel-standalone
- Dominant language
- JavaScript
- Stars
- 4.4k
- Forks
- 217
- PR merge metrics
- No merged PRs in 30d
Description
I'd like to use the `minify` preset from `babel-standalone`. Standalone already ships with other presets (e.g. `typescript`) and this would be a useful addition to support a full transpilation > minification flow outside of node environments.
I found https://github.com/babel/minify/issues/671 which appears to be abandoned. The approach isn't exactly what I'm looking for as it would be another standalone library rather than a preset within the existing standalone library.
Curious if there been any further thought into this. I'd be willing to dedicate time to help make it happen, but first want to explore whether or not this is even possible and/or of interest to the community.
Contributor guide
Research direction
Start by reviewing how babel-standalone currently exposes presets, then compare the requested minify preset with the approach discussed in babel/minify#671. The work is complete when the minify preset is available through babel-standalone for transpilation and minification outside Node environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100