Initially Extension:Popups added a nomin banner to the JS in a module to avoid minification to maintain the source-maps comment on the JS file.
We had to remove it because apparently it caused problems with other RL modules in production mode:
As a result, we get source maps in development mode debug=true, but not in production because the source-map comment is removed.
- Is it possible to get source maps for Extension:Popups in RL production mode?
Possible investigations, areas to research, questions to answer
- Can we disable minification (JSMinifier) on just one RL module without impacting other modules?
- Can we improve RL to understand source-map comments and leave them alone?
- Are the source maps comments correct in production mode or would they need their line numbers shifted?