@swc/plugin-swc-confidential 11.7.0 → 11.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +2 -0
- package/README.tmpl.md +2 -0
- package/package.json +1 -1
- package/swc_plugin_swc_confidential.wasm +0 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @swc/plugin-swc-confidential
|
|
2
2
|
|
|
3
|
+
`@swc/plugin-swc-confidential` encrypts string literals marked with the `/*#__CONFIDENTIAL__*/` comment using AES encryption at build time. This lets you ship sensitive strings (such as feature flag names or identifiers) in an obfuscated form so they are not trivially readable in your production bundle.
|
|
4
|
+
|
|
3
5
|
## Usage
|
|
4
6
|
|
|
5
7
|
.swcrc:
|
package/README.tmpl.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @swc/plugin-swc-confidential
|
|
2
2
|
|
|
3
|
+
`@swc/plugin-swc-confidential` encrypts string literals marked with the `/*#__CONFIDENTIAL__*/` comment using AES encryption at build time. This lets you ship sensitive strings (such as feature flag names or identifiers) in an obfuscated form so they are not trivially readable in your production bundle.
|
|
4
|
+
|
|
3
5
|
## Usage
|
|
4
6
|
|
|
5
7
|
.swcrc:
|
package/package.json
CHANGED
|
Binary file
|