We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eb8fa3 commit c17e04dCopy full SHA for c17e04d
1 file changed
config/webpack.ts
@@ -52,7 +52,7 @@ export default (env: Env) => {
52
}
53
});
54
55
- if (env.dev && env.WEBPACK_SERVE && (!fs.existsSync('key.pem') || !fs.existsSync('cert.pem'))) {
+ if (env.dev && env.RSPACK_SERVE && (!fs.existsSync('key.pem') || !fs.existsSync('cert.pem'))) {
56
console.log('Generating certificate');
57
execSync('mkcert create-ca --validity 825');
58
execSync('mkcert create-cert --validity 825 --key key.pem --cert cert.pem');
0 commit comments