Rspack currently does not support all webpack configurations, and some configurations may affect the build output. To ensure the correctness of the build output, Rspack enables strict validation of the configurations by default. However, it also provides a loose mode for easy progressive migration. You can enable it by setting the RSPACK_CONFIG_VALIDATE
environment variable: