Skip to content

Commit

Permalink
ci: release
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed May 22, 2024
1 parent ed87caa commit 115ea87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-plugin-istanbul-widget/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function istanbulWidget(opts: VitePluginIstanbulWidgetOptions): any {
}
},
load(id) {
if (id === resolvedVirtualIstanbulWidgetId) {
if (id === resolvedVirtualIstanbulWidgetId && istanbulWidgetConfig !== false) {
const js = resolveInlineScript('lib', istanbulWidgetConfig).src
const content = fs.readFileSync(js, 'utf-8')
return content
Expand Down

0 comments on commit 115ea87

Please sign in to comment.