Comments (1)
Create a .env
file and place it inside the src/js
folder, make sure your vars start with VITE_
as outlined here (https://vitejs.dev/guide/env-and-mode.html#env-files) and you'll want to make sure that's added to your .gitignore
. But note that these env vars are basically copied and pasted into your resulting code, so you'll probably want to encrypt them instead if they are sensitive.
Also, if you're trying to access system environment variables, use process.env.VAR
.
Closing this issue. If you still encounter problems, feel free to re-open.
from bolt-cep.
Related Issues (20)
- Audition support HOT 5
- Add Support for Audition, Media Encoder, InDesign, and Bridge
- The <extension name> extension could not be loaded because it was not properly signed. HOT 1
- Cant't acess .jsx files
- removeEventListener obj parameter not set as optional
- How to get this working in NextJS? HOT 1
- zxp password included as raw text in build bundle HOT 2
- API requests HOT 1
- Package.json should inherit extension name
- Cannot build with 2 panels in cep.config.ts HOT 3
- Types for Adobe stop at v22.0 HOT 1
- "TypeError: undefined is not an object" when calling evalEs HOT 3
- [Question] Using HMR within Adobe apps? HOT 1
- How to add pollyfils from es5 to ppro or etc
- jsx strings are garbled(jsx字符串乱码问题) HOT 2
- WASM modules not found but only in Production Build HOT 1
- copyAssets when `npm run dev` not only when building
- Including config.id from cep.config.ts cause the config bundled in browser code
- Add pnpm as well
- KeyInterest not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt-cep.