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
System:
OS: macOS 13.4.1 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 966.71 MB / 32.00 GB Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node npm: 8.19.3 - ~/.nvm/versions/node/v16.19.1/bin/npm
Browsers:
Chrome: 116.0.5845.187 Firefox: 109.0.1 Safari: 16.5.2
npmPackages:
@rspack/cli: latest => 0.3.4
只要配置了 filename 和 cssFilename ,css 热更新失效。
/** * @type {import('@rspack/cli').Configuration} */ module.exports = { context: __dirname, entry: { main: "./src/main.tsx", }, output: { // 配置了 filename 和 cssFilename 后,开发环境的 css 热更新失效 filename: "js/[name].[contenthash].js", cssFilename: "css/[name].[contenthash].css", }, builtins: { html: [ { template: "./index.html", }, ], }, module: { rules: [ { test: /\.svg$/, type: "asset", }, ], }, };
No response
复现步骤:
output: { // 配置了 filename 和 cssFilename 后,开发环境的 css 热更新失效 filename: "js/[name].[contenthash].js", cssFilename: "css/[name].[contenthash].css", },
The text was updated successfully, but these errors were encountered:
same as #3629
Sorry, something went wrong.
No branches or pull requests
System Info
System:
Binaries:
Browsers:
npmPackages:
Details
复现配置
只要配置了 filename 和 cssFilename ,css 热更新失效。
Reproduce link
No response
Reproduce Steps
复现步骤:
The text was updated successfully, but these errors were encountered: