diff --git a/packages/browser-vm/src/dynamicNode/processor.ts b/packages/browser-vm/src/dynamicNode/processor.ts index d9f975e1e..e73395e53 100644 --- a/packages/browser-vm/src/dynamicNode/processor.ts +++ b/packages/browser-vm/src/dynamicNode/processor.ts @@ -331,7 +331,10 @@ export class DynamicNodeProcessor { } // Add dynamic script node by loader - if (this.is('script')) { + if ( + this.is('script') && + this.el?.getAttribute('type') !== 'application/json' + ) { parentNode = this.findParentNodeInApp(context, 'body'); convertedNode = this.addDynamicScriptNode(); }