We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e86f0a commit 109918aCopy full SHA for 109918a
crates/rspack_plugin_externals/src/plugin.rs
@@ -38,7 +38,7 @@ impl ExternalPlugin {
38
}
39
};
40
let external_module_type = r#type.unwrap_or_else(|| {
41
- if UNSPECIFIED_EXTERNAL_TYPE_REGEXP.is_match(&external_module_config)
+ if UNSPECIFIED_EXTERNAL_TYPE_REGEXP.is_match(external_module_config)
42
&& let Some((t, c)) = external_module_config.split_once(' ') {
43
external_module_config = c;
44
return t.to_owned();
0 commit comments