We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
normal_module_factory
In webpack, moduleDependency has a method createIgnoredModule that responsible for create ignored module in normal_module_factory.
createIgnoredModule
But in Rspack, we only use RawModule to new ignored module.
More detail see: https://github.com/web-infra-dev/rspack/blob/v1.1.3/crates/rspack_core/src/normal_module_factory.rs#L348-L359
It's would cause a asset-modules/ignored test failed, https://github.com/web-infra-dev/rspack/tree/v1.1.3/tests/webpack-test/configCases/asset-modules/ignore
Align webpack, The trait ModuleDependency add create_ignored_module fn.
create_ignored_module
pub trait ModuleDependency: Dependency { ... fn create_ignored_module(&self, context: Context) -> BoxDependency { // return a default dependency } }
The text was updated successfully, but these errors were encountered:
getResolve
No branches or pull requests
What problem does this feature solve?
In webpack, moduleDependency has a method
createIgnoredModule
that responsible for create ignored module innormal_module_factory
.But in Rspack, we only use RawModule to new ignored module.
It's would cause a asset-modules/ignored test failed, https://github.com/web-infra-dev/rspack/tree/v1.1.3/tests/webpack-test/configCases/asset-modules/ignore
What does the proposed API of configuration look like?
Align webpack, The trait ModuleDependency add
create_ignored_module
fn.The text was updated successfully, but these errors were encountered: