Closed Bug 987029 Opened 10 years ago Closed 6 years ago

[Gaia] [Build] webapp-optimize should be able to minify related code

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gduan, Unassigned)

References

Details

We should be able to minify code in webapp-optimize.js if execute |GAIA_OPTIMIZE=1 make|.
I've tried https://github.com/mishoo/UglifyJS2 to minified browser.js from 55kb to 37kb. And I can also revert it easily by clicking prettify button in debugger.
this feature should be disabled by default unless we land sourcemap feature.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.