Framework support
Dotvault for Create React App
Dotvault for Create React App projects.
Create React App uses the REACT_APP_ prefix for variables that get baked into the client bundle. Dotvault recognises it, keeps server-only values clearly separated, and gives you a visual editor with snapshot history for the whole thing.
What you get
- → Detects CRA automatically from react-scripts in package.json.
- → Recognises REACT_APP_ as the client-exposed prefix.
- → Flags values that look like secrets accidentally marked for client exposure.
- → Snapshot and diff across .env, .env.development, .env.production.
Known environment variables
Dotvault recognises these variables when you open a Create React App project and surfaces helpful descriptions and warnings in the editor. Create React App is detected via `react-scripts` in package.json.
-
REACT_APP_Client-exposed variable (CRA)
-
BROWSERBrowser to open on start
-
PORTDev server port
-
HOSTDev server host
-
HTTPSEnable HTTPS in dev
-
CITreat warnings as errors in CI
-
GENERATE_SOURCEMAPGenerate source maps in production
-
INLINE_RUNTIME_CHUNKInline the runtime chunk in index.html
-
IMAGE_INLINE_SIZE_LIMITImage size threshold for inlining (bytes)
-
FAST_REFRESHEnable React Fast Refresh
-
TSC_COMPILE_ON_ERRORBuild even with TypeScript errors
-
ESLINT_NO_DEV_ERRORSDowngrade ESLint errors to warnings in dev
-
DISABLE_ESLINT_PLUGINDisable ESLint plugin entirely
Official Create React App docs: create-react-app.dev