Unverified Commit 03189bb2 authored by Donny/강동윤's avatar Donny/강동윤 Committed by GitHub

Update resolve rule for `@swc/helpers` (#48980)

### What?

Update resolve rule for `@swc/helpers` => `node_modules/@swc/helpers` to `@swc/helpers/_` => `node_modules/@swc/helpers/_` to select only `@swc/helpers@v0.5.0`.

### Why?

Previous rule make webpack merge `@swc/helpers@v0.4.x` and `@swc/helpers@v0.5.x`

### How?

Closes WEB-948
Fixes #48593
parent 514d57ae
......@@ -1071,8 +1071,9 @@ export default async function getBaseWebpackConfig(
}
: {}),
'@swc/helpers': path.dirname(
require.resolve('@swc/helpers/package.json')
'@swc/helpers/_': path.join(
path.dirname(require.resolve('@swc/helpers/package.json')),
'_'
),
setimmediate: 'next/dist/compiled/setimmediate',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment