Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 43d3456

Browse files
authored
Update index.ts
1 parent 7502768 commit 43d3456

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ function getInsertInfo(source: string): InsertInfo {
4141
target = 'script'
4242

4343
// @vitejs/plugin-vue
44-
if (source.includes('_sfc_main')) {
44+
if (source.includes('_sfc_main'))
4545
target = '_sfc_main'
46-
}
4746

4847
const insertPos = source.indexOf('export default')
4948

0 commit comments

Comments
 (0)