We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28badf0 commit 4df796dCopy full SHA for 4df796d
packages/commandkit/src/plugins/plugin-runtime/CompilerPluginRuntime.ts
@@ -153,6 +153,10 @@ export class CompilerPluginRuntime {
153
): Promise<{ code: string; map: string | null }> {
154
let map: string | null = null;
155
for (const plugin of this.plugins) {
156
+ if (!plugin?.transform || typeof plugin?.transform !== 'function') {
157
+ continue;
158
+ }
159
+
160
try {
161
const res: MaybeFalsey<TransformedResult> = await plugin.transform?.({
162
code,
0 commit comments