fix(core): regression register ts transpiler for local plugin (#22964)

This commit is contained in:
Richard Roozenboom 2024-04-24 00:08:11 +02:00 committed by GitHub
parent 7bb6e9ee14
commit abaad324e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,6 +56,9 @@ export function readPluginPackageJson(
localPluginPath.path,
'package.json'
);
if (!unregisterPluginTSTranspiler) {
registerPluginTSTranspiler();
}
return {
path: localPluginPackageJson,
json: readJsonFile(localPluginPackageJson),