Skip to content

Commit

Permalink
fix: vite URI malformed
Browse files Browse the repository at this point in the history
  • Loading branch information
KeJunMao committed Jul 31, 2023
1 parent 6bb52d2 commit 870be4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ export function VitePluginUniPages(userOptions: UserOptions = {}): Plugin {
return {
code: s.toString(),
map: s.generateMap({
source: code,
source: id,
includeContent: true,
file: id,
file: `${id}.map`,
}),
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function nav() {
</text>
</view>
<button @click="nav">
nav
nav%
</button>
<Counter />
</view>
Expand Down

0 comments on commit 870be4b

Please sign in to comment.