@swc/plugin-swc-confidential

6.0.4 • Public • Published

@swc/plugin-swc-confidential

Usage

.swcrc:

{
  "jsc": {
    "experimental": {
      "plugins": ["@swc/plugin-swc-confidential", {
        // Possible values:
        //
        // AES-128
        // AES-192
        // AES-256
        algorithm: "AES-256",
        encryptionKey: process.env.FLAGS_SECRET,
        prefix: "secure:"
      }]
    }
  }
}

Input

console.log(/*#__CONFIDENTIAL__*/ "newDashboard")

Output

console.log("secure:de454774988d624b8f317bbe9dadfe1f");

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.0.43latest

Version History

VersionDownloads (Last 7 Days)Published
6.0.43
6.0.31
6.0.22
6.0.11
6.0.01
5.3.21
5.2.01
5.1.01
5.0.41
5.0.31
5.0.21
5.0.11
4.0.21
4.0.01
3.0.01
2.0.3163
2.0.20
2.0.10
2.0.01
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00
0.1.10

Package Sidebar

Install

npm i @swc/plugin-swc-confidential

Homepage

swc.rs

Weekly Downloads

182

Version

6.0.4

License

Apache-2.0

Unpacked Size

724 kB

Total Files

7

Last publish

Collaborators

  • kdy1
  • kwonoj
OSZAR »