Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
fix(dev): script gencode should place top to reflect sourcemap (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew0 authored Sep 22, 2020
1 parent 5396ab8 commit 6ea995d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/serverPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ async function parseSFC(
}

let code =
`
`${scriptImport}
${templateImport}
${scriptImport}
const __cssModules = {}
${stylesCode}
/* normalize component */
Expand Down

0 comments on commit 6ea995d

Please sign in to comment.