Webpack: Update bundled plugins SWC baseUrl (#80882)

build(webpack): update config for swc.baseUrl
This commit is contained in:
Jack Westbrook 2024-01-19 14:18:14 +01:00 committed by GitHub
parent e0d0420990
commit dff0e33c30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ const config = async (env: Record<string, string>): Promise<Configuration> => ({
loader: 'swc-loader',
options: {
jsc: {
baseUrl: '.',
baseUrl: path.resolve(__dirname),
target: 'es2015',
loose: false,
parser: {