未验证 提交 555ba605 编写于 作者: T Tim Neutkens 提交者: GitHub

Run tsconfig paths resolver before PnP (#12104)

上级 99eedc4b
......@@ -1014,7 +1014,7 @@ export default async function getBaseWebpackConfig(
}
if (jsConfig?.compilerOptions?.paths && resolvedBaseUrl) {
webpackConfig.resolve?.plugins?.push(
webpackConfig.resolve?.plugins?.unshift(
new JsConfigPathsPlugin(jsConfig.compilerOptions.paths, resolvedBaseUrl)
)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册