Akryum / Akryum/vue-cli-plugin-ssr

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

オープン
#104 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
441
フォーク
69
PR マージ指標
30日以内にマージされた PR はありません

説明

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,

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。