Akryum / Akryum/vue-cli-plugin-ssr

In production ".env.${MODE}" file is not taken in account

Offen
#104 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
441
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

Just noticed that when going to production (`ssr:build` and `ssr:start`) in the `entry-server.js` I'm able to access all environment variables from `.env` but not those from `.env.${MODE}` (with MODE being your custom mode).

Note that I'am specifying the `--mode` when building and starting the app.

Thank you,

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.