You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies which files should be processed by the React Refresh loader. This option is passed to the `builtin:react-refresh-loader` as the `rule.test` condition.
109
104
110
-
Works identically to Rspack's [rule.test](https://rspack.dev/config/module#ruletest) option.
105
+
Works identically to Rspack's [rule.test](https://rspack.rs/config/module-rules#rulestest) option.
Explicitly includes files to be processed by the React Refresh loader. This option is passed to the `builtin:react-refresh-loader` as the `rule.include` condition.
124
119
125
120
Use this to limit processing to specific directories or file patterns.
126
121
127
-
Works identically to Rspack's [rule.include](https://rspack.dev/config/module#ruleinclude) option.
122
+
Works identically to Rspack's [rule.include](https://rspack.rs/config/module-rules#rulesinclude) option.
Exclude files from being processed by the plugin. The value is the same as the [rule.exclude](https://rspack.dev/config/module#ruleexclude) option in Rspack.
135
+
Exclude files from being processed by the plugin. The value is the same as the [rule.exclude](https://rspack.rs/config/module-rules#rulesexclude) option in Rspack.
Can be used to exclude certain resources from being processed by the plugin by the resource query. The value is the same as the [rule.resourceQuery](https://rspack.dev/config/module#ruleresourcequery) option in Rspack.
148
+
Can be used to exclude certain resources from being processed by the plugin by the resource query. The value is the same as the [rule.resourceQuery](https://rspack.rs/config/module-rules#rulesresourcequery) option in Rspack.
154
149
155
150
For example, to exclude all resources with the `raw` query, such as `import rawTs from './ReactComponent.ts?raw';`, use the following:
0 commit comments