Skip to content

Commit d436f58

Browse files
committed
fix: Use external scripts instead of inline scripts.
1 parent 9d906eb commit d436f58

File tree

1 file changed

+1
-2
lines changed
  • packages/vite-plugin-checker/src

1 file changed

+1
-2
lines changed

packages/vite-plugin-checker/src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ export function checker(userConfig: UserPluginConfig): Plugin {
149149
return [
150150
{
151151
tag: 'script',
152-
attrs: { type: 'module' },
153-
children: composePreambleCode({ baseWithOrigin, overlayConfig }),
152+
attrs: { type: 'module', src: RUNTIME_CLIENT_ENTRY_PATH },
154153
},
155154
]
156155
},

0 commit comments

Comments
 (0)