hi everybody,
I could not figure out how do I build my app and generate sourcemap
url into js file along with all the sources. Anybody can shed some
light here?
That's what I did:
1. I added <set-property name="compiler.useSourceMaps" value="true"/>
to my module and now I have sourcemaps generated.
2. Now if I want to use it I need to manually add the path to the map
to my generated js file, something like that:
//# sourceMappingURL=../WEB-INF/deploy/playerDebug/symbolMaps/AE31C96E973F2818434AA5B24477E385_sourceMap0.json
3. Adding the path gives me the mapping to java classes, but since
there is no sources available it's kind of useless. How do I specify
path to the sources? Is there anyway I can add it to js file?
Is there anyway to automate step 2?
Note that I am just opening the module's html in browser as local
file, not via webserver.