Closed XHighIntell closed 2 months ago
Somehow, the cli still needs to escape characters like in javascript to make it work.
--source-map "content='E:\\My Life\\OneDrive\\Projects\\Typescript Template 2\\wwwroot\\apps\\dashboard\\dashboard.js.map',includeSources,url='dashboard.js.map'"
That is working as expected − content
's value is JavaScript string literal, i.e. you need to escape the back-slash (\
)
Uglify version (
uglifyjs -V
) 3.19.3JavaScript input To make it simple, I have 2 files that are built from Typescript. file.js file.js.map
The
uglifyjs
CLI command executed: The below command works correctlyBut when I use absolute path to the javascript and source map files (content is not changed). I got errors
JavaScript output or error produced.