Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8a49bb5

Browse files
PROD-1551 #comment copy config files for
the current environment only #time 10m
1 parent 047f995 commit 8a49bb5

File tree

5 files changed

+1
-5
lines changed

5 files changed

+1
-5
lines changed

webpack.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ module.exports = (webpackConfigEnv) => {
4949
to: "./",
5050
},
5151
{
52-
from: "config/*development.*",
53-
to: "./",
54-
},
55-
{
56-
from: "config/*production.*",
52+
from: `config/*${webpackConfigEnv.APPENV}.*`,
5753
to: "./",
5854
},
5955
],

0 commit comments

Comments
 (0)