babel / babel/minify

Add option to ignore asm.js code

Open
#599 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
4.4k
Forks
217
PR merge metrics
No merged PRs in 30d

Description

I'm wanting to minify a project which contains some Emscripten generated asm.js. As babili cannot safely minimise it and Emscripten already minimises the asm.js to a large extent, an option to ignore all code in an asm.js function would be very helpful.

Future work could selectively enable or disable transformations which are safe for asm.js, but for now a global switch would be great.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.