Comments (3)
dotenv-run -v -f .env -f .secrets -- bash -c 'svelte-kit sync && vite dev'
?
or have a npm script:
"scripts": {
"dev:run": "svelte-kit sync && vite dev",
"dev": "dotenv-run -v -f .env -f .secrets -- npm run dev:run"
}
from dotenv-run.
Second one should work for both windows and Mac
b.t.w -f .env,.secrets
did not work on windows. Have to rewrite -f .env -f .secrets
from dotenv-run.
I'll close the issue, let me know if you need any help.
from dotenv-run.
Related Issues (20)
- I cannot access my environment variables in my environment.ts HOT 2
- version info for import.meta.env HOT 1
- Thank you for making this HOT 1
- environment variables not being set HOT 2
- ng build throws rxjs switchmap error HOT 5
- Do the `secret` keys get included in the final build? HOT 2
- Document usage with custom builder and @dotenv-run/webpack
- Prepare stackblitz playground
- Support angular workspace for ng-add
- Angular 17 support HOT 8
- Issue while building with v17 when SSR is disabled HOT 10
- Replace variables on pre-rendered pages HOT 4
- Design a logo
- @ngx-env not loading variables HOT 6
- Schema validation failed on `ng serve` HOT 7
- @ngx-env/builder Mistargets File Path for index.server.html. ( Nx + Angular ) monorepo HOT 4
- Add browser-esbuild builder HOT 2
- @ngx-env not working with `localize` option in SSR HOT 1
- ng extract-i18n does not work properly with ESbuild HOT 8
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 dotenv-run.