diff --git a/config/constants.js b/config/constants.js index 46c91a7..bf6b991 100644 --- a/config/constants.js +++ b/config/constants.js @@ -2,15 +2,15 @@ module.exports = Object.freeze({ APP_CONFIG: [ { 'appEnv': 'dev', - 'mfeConfigPath': '/micro-frontends-config-development.json', + 'mfeConfigPath': '/config/micro-frontends-config-development.json', 'mfeIndexPath': '/index.html', - 'mfeRoutesPath': '/micro-frontends-routes-development.txt' + 'mfeRoutesPath': '/config/micro-frontends-routes-development.txt' }, { 'appEnv': 'prod', - 'mfeConfigPath': '/micro-frontends-config-production.json', + 'mfeConfigPath': '/config/micro-frontends-config-production.json', 'mfeIndexPath': '/index.html', - 'mfeRoutesPath': '/micro-frontends-routes-production.txt' + 'mfeRoutesPath': '/config/micro-frontends-routes-production.txt' }, { 'appEnv': 'local-multi', diff --git a/webpack.config.js b/webpack.config.js index 0eddef5..9e1957d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -48,6 +48,14 @@ module.exports = (webpackConfigEnv) => { from: "src/images", to: "./", }, + { + from: "config/*development.*", + to: "./", + }, + { + from: "config/*production.*", + to: "./", + }, ], }), ],