Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit48a187e

Browse files
committed
fix: when the resource path contains chinese characters, dev/build is inconsistent
refvitejs/vite-plugin-vue@5f6affe
1 parent676bef1 commit48a187e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/core/main.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ export async function transformMain(
258258
filename,
259259
{
260260
target:pluginContext.framework==='vite' ?'esnext' :undefined,
261+
charset:'utf8',
261262
// #430 support decorators in .vue file
262263
// target can be overridden by esbuild config target
263264
...options.devServer?.config.esbuild,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp