mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-01 23:32:02 +00:00
feat: enable http emulator support
This commit is contained in:
@@ -192,6 +192,12 @@ module.exports = function (_env = {}, argv = {}) {
|
||||
new EnvironmentPlugin(envVars),
|
||||
];
|
||||
|
||||
if(process.env.EXPLORER_CONFIG_PATH) {
|
||||
plugins.push(new CopyWebpackPlugin({
|
||||
patterns: [{ from: process.env.EXPLORER_CONFIG_PATH, to: "config.json" }]
|
||||
}));
|
||||
}
|
||||
|
||||
if (argv.analyze) {
|
||||
plugins.push(new BundleAnalyzerPlugin());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user