Skip to content

Commit 13226fb

Browse files
committed
build(webpack-cli): upgrade webpack-cli version
This is required when running example from a clean build
1 parent bea78f5 commit 13226fb

File tree

3 files changed

+100
-198
lines changed

3 files changed

+100
-198
lines changed

Utilities/ExampleRunner/template-config.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,16 @@ module.exports = {
6969
colors: true,
7070
},
7171
},
72-
proxy: {
73-
'/data/**': {
74-
target: 'http://${settings.devServerConfig.host()}:${settings.devServerConfig.port()}/Data',
75-
pathRewrite: {
76-
'^/data': ''
72+
proxy: [
73+
{
74+
'/data/**': {
75+
target: 'http://${settings.devServerConfig.host()}:${settings.devServerConfig.port()}/Data',
76+
pathRewrite: {
77+
'^/data': ''
78+
},
7779
},
7880
},
79-
},
81+
],
8082
},
8183
};
8284
`;

0 commit comments

Comments
 (0)