Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const path = require("path");
const fs = require("fs");
const { whenDev } = require("@craco/craco");
module.exports = {
devServer: whenDev(() => ({
https: true,
pfx: fs.readFileSync(path.resolve("./localhost.pfx")),
pfxPassphrase: "temp123!"
}))
};