Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Add createSourceMap CLI argument for cmd.js #87

Closed
wants to merge 1 commit into from
Closed

Add createSourceMap CLI argument for cmd.js #87

wants to merge 1 commit into from

Conversation

martinsik
Copy link

This PR adds createSourceMap CLI argument that inlines source maps into the output. The createSourceMap option right now causes the compiler to produce source maps but these are ignored.

I also added a test to check that the source map is really generated only when needed. However, the cmd.js script itself isn't tested.

Solves #84

@ChadKillingsworth
Copy link
Contributor

To add a source map comment to the output, we recommend using an output wrapper. See https://github.com/google/closure-compiler/wiki/FAQ#source-maps-and-sourcemappingurl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants