-
issue 77800 alias minimum reproduction
-
need:
node 20.15+
-
use:
yarn 1.22
workspace
yarn install
There are three projects, each of which can be viewed using the following commands.
- Depends on @views-a/home, but it internally depends on @core, which causes an error
yarn fail
- Changing @views-b/home @core dependency to @app/model/core allows it to work properly.
yarn success
- A demonstration shows that within the platform, it can use aliases like @core and @views.
yarn success2
next.config.mjs
// const withPWA = (config) => withRspack(config)
const withPWA = (config) => withNextPWA(withRspack(config)) // Using this line will result in an error