Open huynguyen93 opened 3 years ago
Hello, thanks for making this plugin, I have a question.
When I use an env variable in a custom page:
// pages/index.js const myEnv = process.env.TEST_ENV;
It worked when compiling with "docusaurus build", but when I start the project with "docusaurus start", I got this error "ReferenceError: process is not defined"
Is this a normal behavior?
Getting the same issue
This repository seems not updating for a long time. I forked one at https://github.com/rayyone/docusaurus2-dotenv-2 and make it works with develop environment
Hello, thanks for making this plugin, I have a question.
When I use an env variable in a custom page:
It worked when compiling with "docusaurus build", but when I start the project with "docusaurus start", I got this error "ReferenceError: process is not defined"
Is this a normal behavior?