diff --git a/frontend/.gitignore b/frontend/.gitignore index a4915e394..42b5f2451 100644 --- a/frontend/.gitignore +++ b/frontend/.gitignore @@ -1,4 +1,4 @@ /node_modules /dist -/*.env +/.env.* /cypress.env.json \ No newline at end of file diff --git a/frontend/.webpack/webpack.dev.js b/frontend/.webpack/webpack.dev.js index 075e5bcea..35211d4e7 100644 --- a/frontend/.webpack/webpack.dev.js +++ b/frontend/.webpack/webpack.dev.js @@ -36,7 +36,7 @@ module.exports = merge(common, { }, plugins: [ new Dotenv({ - path: path.resolve(__dirname, `../.dev.env`), + path: path.resolve(__dirname, `../.env.dev`), }), ], }); diff --git a/frontend/.webpack/webpack.prod.js b/frontend/.webpack/webpack.prod.js index 079913415..4a449564e 100644 --- a/frontend/.webpack/webpack.prod.js +++ b/frontend/.webpack/webpack.prod.js @@ -59,7 +59,7 @@ module.exports = merge(common, { plugins: [ new ForkTsCheckerWebpackPlugin(), new Dotenv({ - path: path.resolve(__dirname, `../.prod.env`), + path: path.resolve(__dirname, `../.env.prod`), }), ], });