rspack
rspack copied to clipboard
A fast Rust-based web bundler 🦀️
### What problem does this feature solve? Now if lazy compilation is enabled, the startup speed is very fast. When switching routes, the route needs to be temporarily loaded, which...
## Current ### webpack `NormalModuleCompilationHooks`:  ### rspack js side `NormalModuleHooks`:  ## My Confusion In addition, I found some code about `before_loaders` on the rust side, but the definition...
### What problem does this feature solve? Port webpack `LoaderContext.loadModule` to rspack. See: https://webpack.js.org/api/loaders/#thisloadmodule ### What does the proposed API of configuration look like? Aligned to webpack's implementation.
### What problem does this feature solve? https://rspack.dev/zh/guide/features/builtin-lightningcss-loader#options https://lightningcss.dev/transforms.html ### What does the proposed API of configuration look like? LightningcssLoaderOptions 增加 visitor
### What problem does this feature solve? ## Scene 1. I have a single page: https://www.abc.com/ 2. Use rspack run 3 micron-frontend in local: - main-app in port 8001 -...
### System Info System: OS: Windows 10 10.0.19045 CPU: (12) x64 Intel(R) Core(TM) i7 Memory: 20.73 GB / 31.91 GB Binaries: Node: 18.12.0 - C:\Program Files\n npm: 9.2.0 - C:\Program...
### What problem does this feature solve? These two features are blocking https://github.com/backstage/backstage/pull/22698 ### What does the proposed API of configuration look like? Just align with webpack
### What problem does this feature solve? required by the test case `webpack-test/configCases/plugins/min-chunk-size/` ### What does the proposed API of configuration look like? The same as https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/optimize/MinChunkSizePlugin.js#L1-L113
### What problem does this feature solve? Supports all hooks used by ImageMinimizerWebpackPlugin. https://github.com/webpack-contrib/image-minimizer-webpack-plugin Here is the list of unsupported hooks ``` js compilation.hooks.moduleAsset compilation.hooks.assetPath compilation.hooks.afterSeal compilation.hooks.statsPrinter stats.hooks.print ```
## span is not valid after transformation currrently Rspack will do double parse for all file processed by builtin:swc-loader, the reason Rspack do double parse is caused by swc transform...