-
-
Notifications
You must be signed in to change notification settings - Fork 780
Description
System Info
System Info
npmPackages:
@rspack/cli: ^1.3.7 => 1.3.7
@rspack/core: ^1.3.7 => 1.3.7
Details
Since version 1.3.7, the CircularDependencyRspackPlugin has started to get stuck.
It may be related to #10163.
Reproduce link
No response
Reproduce Steps
- install dependencies
@rspack/{cli,core}@1.3.7,react,react-dom,@fluentui/react-components - prepare the
rspack.config.jsusing theCircularDependencyRspackPlugin - import and use a component from
@fluentui/react-components(it’s enough with console.log) - executing
rspack buildcauses it to get stuck.
rspack.config.js :
const rspack = require("@rspack/core");
module.exports = {
entry: {
main: './src/index.js',
},
plugins: [
// fails when this plugin is present
new rspack.CircularDependencyRspackPlugin({
exclude: /node_modules/,
}),
],
};src/index.js :
import { Breadcrumb } from '@fluentui/react-components';
console.log(Breadcrumb);package.json :
{
"name": "example-app",
"version": "1.0.0",
"main": "dist/main.js",
"scripts": {
"build": "rspack build"
},
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"devDependencies": {
"@rspack/cli": "1.3.7",
"@rspack/core": "1.3.7"
},
"dependencies": {
"@fluentui/react-components": "9.63.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"resolutions": {
"react": "18.3.1",
"react-dom": "18.3.1"
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels