Open CxRes opened 7 years ago
Maybe try building the application within the baseURL itself?
The trouble with that is (it was the first idea I had as well) that I cannot replace bootstrap.js
with itself. If I use another name, then I have to rewrite my index.html
to modifying the script
tag to point to this new name. Right now I can copy the index.html
from src
to des
. If I rename and copy this file instead, the reference in the map file has a different name, which means I have to rewrite that then
Also, it just feels wrong to build files in the src
folder...
This is probably a support request but it may be a feature request
I have a program structure like this:
I am doing a build like this:
All the
sources
in the generated sourceMap start as..\src\*
. I would like to normalize these paths to get rid of..\src
portion, becausedes/
becomes its own independent package for distribution (I copy package.json and modifymain
; this is in a nwjs env). For example, Uglify offers thebase
option for sourceMaps. I cannot see an equivalent option here (I have tinkered withbaseURL
to no avail)??