Open seb-mynotary opened 1 day ago
The bundled scss file don't have a unique hash in the file name (eg: main.css) This cause issue with browser caching.
The bundled scss file should have a unique file name (eg: main.randomHash.css)
No response
git clone https://github.com/seb-mynotary/nx-rspack.git
nx run demo:build:production
Node : 20.10.0 OS : darwin-arm64 Native Target : aarch64-macos pnpm : 9.4.0 nx (global) : 20.0.6 nx : 20.1.2 @nx/js : 20.1.2 @nx/eslint : 20.1.2 @nx/workspace : 20.1.2 @nx/eslint-plugin : 20.1.2 @nx/react : 20.1.2 @nx/rspack : 20.1.2 @nx/vite : 20.1.2 @nx/web : 20.1.2 typescript : 5.5.4 --------------------------------------- Registered Plugins: @nx/vite/plugin @nx/eslint/plugin
Current Behavior
The bundled scss file don't have a unique hash in the file name (eg: main.css) This cause issue with browser caching.
Expected Behavior
The bundled scss file should have a unique file name (eg: main.randomHash.css)
GitHub Repo
No response
Steps to Reproduce
git clone https://github.com/seb-mynotary/nx-rspack.git
nx run demo:build:production
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response