Update README.md - sourceMappingURL directive note (#2355)

Moves this README note to underneath the 'url' rather than 'root' option.
This commit is contained in:
Tim Malone
2017-10-11 22:48:43 +11:00
committed by Alex Lam S.L
parent b810e2f8da
commit 70d56c951a

View File

@@ -153,10 +153,10 @@ Additional options:
- `--source-map "filename='<NAME>'"` to specify the name of the source map.
- `--source-map "root='<URL>'"` to pass the URL where the original files can be found.
Otherwise UglifyJS assumes HTTP `X-SourceMap` is being used and will omit the
`//# sourceMappingURL=` directive.
- `--source-map "url='<URL>'"` to specify the URL where the source map can be found.
Otherwise UglifyJS assumes HTTP `X-SourceMap` is being used and will omit the
`//# sourceMappingURL=` directive.
For example: