You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpack5 build is ok, but rspack will cause circular dependency problem, the reason is that webpack5 will change import { defineLocale } from 'packageA' to import { defineLocale } from './src/locale.js', but rspack will not, so circular dependency problem occur
ps: webpack4 is also not ok
i wonder if there has some option to make this behavior same as webpack
Version
Details
webpack5 build is ok, but rspack will cause circular dependency problem, the reason is that webpack5 will change
import { defineLocale } from 'packageA'
toimport { defineLocale } from './src/locale.js'
, but rspack will not, so circular dependency problem occurps: webpack4 is also not ok
i wonder if there has some option to make this behavior same as webpack
Reproduce link
https://github.com/jayjliang/rsbuild-demo
Reproduce Steps
yarn
cd ./packages/package-b
yarn dev
yarn dev:webpack
The text was updated successfully, but these errors were encountered: