.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:"
}]
}
}
}
console.log(/*#__CONFIDENTIAL__*/ "newDashboard")
console.log("secure:de454774988d624b8f317bbe9dadfe1f");