packages/core: make AppConfigLoader return an array, and added defaultConfigLoader + tests

This commit is contained in:
Patrik Oldsberg
2020-06-02 17:00:01 +02:00
parent 5774ec46ce
commit 483fa94d0e
7 changed files with 152 additions and 15 deletions
+6
View File
@@ -51,6 +51,12 @@ export function createConfig(
);
}
plugins.push(
new webpack.EnvironmentPlugin({
APP_CONFIG: [],
}),
);
return {
mode: isDev ? 'development' : 'production',
profile: false,