Readme update

This commit is contained in:
sanex3339
2020-01-29 09:27:22 +03:00
parent 48f7d2c188
commit 4c05ef42dd
-8
View File
@@ -705,8 +705,6 @@ Randomly shuffles the `stringArray` array items.
### `sourceMap`
Type: `boolean` Default: `false`
##### :warning: This option does not allowed to use with `target: 'node'`
Enables source map generation for obfuscated code.
Source maps can be useful to help you debug your obfuscated JavaScript source code. If you want or need to debug in production, you can upload the separate source map file to a secret location and then point your browser there.
@@ -714,8 +712,6 @@ Source maps can be useful to help you debug your obfuscated JavaScript source co
### `sourceMapBaseUrl`
Type: `string` Default: ``
##### :warning: This option does not allowed to use with `target: 'node'`
Sets base url to the source map import url when [`sourceMapMode: 'separate'`](#sourcemapmode).
CLI example:
@@ -731,8 +727,6 @@ Result:
### `sourceMapFileName`
Type: `string` Default: ``
##### :warning: This option does not allowed to use with `target: 'node'`
Sets file name for output source map when `sourceMapMode: 'separate'`.
CLI example:
@@ -748,8 +742,6 @@ Result:
### `sourceMapMode`
Type: `string` Default: `separate`
##### :warning: This option does not allowed to use with `target: 'node'`
Specifies source map generation mode:
* `inline` - emit a single file with source maps instead of having a separate file;
* `separate` - generates corresponding '.map' file with source map. In case you run obfuscator through CLI - adds link to source map file to the end of file with obfuscated code `//# sourceMappingUrl=file.js.map`.