Skip to content

Commit e4d5ab7

Browse files
authored
feat: enable tile graph for RS Doctor in rspack.config.js (#97)
* feat: enable tile graph in rspack.config.js * fix: missing trailing comma
1 parent 6ab6dd8 commit e4d5ab7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config/rspack.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,11 @@ module.exports = (webpackEnv, argv) => {
363363
].filter(Boolean),
364364
},
365365
plugins: [
366-
process.env.RSDOCTOR && new RsdoctorRspackPlugin(),
366+
process.env.RSDOCTOR && new RsdoctorRspackPlugin({
367+
supports: {
368+
generateTileGraph: true,
369+
},
370+
}),
367371
isReactRefresh && new ReactRefreshPlugin(),
368372
new DotenvPlugin({
369373
path: path.join(workspacePath, '.env'), // load this now instead of the ones in '.env'

0 commit comments

Comments
 (0)