Skip to content

Commit 6843f8c

Browse files
committed
internal: Track endpoint/client rdc bundles distinctly
1 parent 0fd0c65 commit 6843f8c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

examples/test-bundlesize/webpack.config.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,18 @@ module.exports = (env, argv) => {
3030
name: 'polyfill',
3131
chunks: 'all',
3232
},
33-
rdc: {
34-
test: /packages/,
35-
name: 'rdc',
33+
rdcEndpoint: {
34+
test: /packages[\\/](endpoint|rest|graphql)/,
35+
name: 'rdcEndpoint',
3636
chunks: 'all',
3737
priority: 10000,
3838
},
39+
rdcClient: {
40+
test: /packages/,
41+
name: 'rdcClient',
42+
chunks: 'all',
43+
priority: 1000,
44+
},
3945
},
4046
};
4147
return config;

0 commit comments

Comments
 (0)