Skip to content

External sourcemaps #26

@fluidblue

Description

@fluidblue

Please consider adding support for external sourcemaps.
In detail: Create both out.js and out.js.map with something like

webmake --sourcemap out.js.map in.js out.js

External sourcemaps are needed for postprocessing the output of webmake, e.g. with uglifyjs.

uglifyjs webmake-out.js --source-map out.js.map --in-source-map webmake-out.js.amp > uglifyjs-out.js

uglifyjs takes an input sourcemap with the --in-source-map option.

Additionally, external sourcemaps should make the "eval" statements (containing code and sourcemaps) unnecessary.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions