Compiling for prod generate error from debug-js
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
Compiling with ```royale serve:prod``` seem to first compile js-debug, and second to compile (and not only minifying ?) js-prod from js-debug.
While doing second one, i get a chunk of WARNING and ERROR on the js-debug, such as:
com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: [...]/RoyalProyekt/tests/bin/js-debug/org/apache/royale/utils/Language.js:12: ERROR - required "goog.DEBUG" namespace never provided
goog.require('goog.DEBUG');
com.google.javascript.jscomp.LoggerErrorManager println
SEVERE: [...]/RoyalProyect/tests/bin/js-debug/io/nfg/wmg/battle/modes/StayAlive.js:12: ERROR - required "io.nfg.wmg.battle.BattleLogic" namespace not provided yet
goog.require('io.nfg.wmg.battle.BattleLogic');
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `royale serve:prod` and compare the js-debug and js-prod compilation stages. Use the reported errors in `Language.js` and `StayAlive.js` as entry points, and consider the production build complete when the second compilation finishes without the reported namespace warnings and errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100