9aoy

Results 48 comments of 9aoy

Rsbuild and Vite have different hot update processes, so it is difficult to support this feature within rsbuild (rspack). The current research result is that `HotModuleReplacementPlugin` may need to provide...

This error is caused by the class name being compressed, To solve this problem you can set `mangle.keep_fnames` false. (Why not `keep_classnames`? Because according to the browserslist you configured, class...

The `dynamicImportMode` configuration is ineffective for the worker constructor, and the built-in Worker in Rspack does not yet support inline. You can use `worker-rspack-loader`, referring to this [example](https://github.com/rspack-contrib/rstack-examples/tree/main/rspack/worker-inline).

By the way, you can subscribe to this issue to get more discussions about `inline worker`. πŸ‘‰ https://github.com/webpack/webpack/issues/19098

In order to support html-bundler-webpack-plugin in rspack, the following features need to be supported first: - [x] support EntryPlugin filename function. https://github.com/web-infra-dev/rspack/pull/7297 - [ ] support ContextModuleFactory alternativeRequests hook

I have a PR about 'supporting EntryPlugin filename function', but it's not finished yet. https://github.com/web-infra-dev/rspack/pull/6607

Emit file conflicts may cause error. If you do not need to copy `index.html`, you can try the `globOptions.ignore` configuration. https://www.rspack.dev/plugins/rspack/copy-rspack-plugin#copyrspackplugin

Need to provide a reproduction demo.

This is configured by the user. My question is how can I append other external configurations if the user has configured `RegExp`, if the `(string | RegExp)[]` type is not...

> Why not using ignoredFunction? It's more flexible then Array. Function type sounds OK. BTW, this configuration type is not very framework friendly.