You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building for production...
[vite] Build errored out.
SyntaxError: Incorrectly opened comment.
at createCompilerError (C:\Users\alex\Documents\vite\node_modules\@vue\compiler-core\dist\compiler-core.cjs.js:16:19)
at emitError (C:\Users\alex\Documents\vite\node_modules\@vue\compiler-core\dist\compiler-core.cjs.js:1173:29)
at parseChildren (C:\Users\alex\Documents\vite\node_modules\@vue\compiler-core\dist\compiler-core.cjs.js:613:25)
at Object.baseParse (C:\Users\alex\Documents\vite\node_modules\@vue\compiler-core\dist\compiler-core.cjs.js:560:23)
at Object.parse (C:\Users\alex\Documents\vite\node_modules\@vue\compiler-dom\dist\compiler-dom.cjs.js:2942:25)
at compileHtml (C:\Users\alex\Documents\vite\dist\build\buildPluginHtml.js:78:32)
at Object.exports.createBuildHtmlPlugin (C:\Users\alex\Documents\vite\dist\build\buildPluginHtml.js:20:45)
at async Object.build (C:\Users\alex\Documents\vite\dist\build\index.js:38:41)
at async runBuild (C:\Users\alex\Documents\vite\dist\cli.js:141:9) {
code: 11,
loc: {
start: { column: 1, line: 1, offset: 0 },
end: { column: 1, line: 1, offset: 0 },
source: ''
}
}
Reproduction
<!doctype html>
$ vite build
This appears to be an issue in @vue/compiler-core. I tried changing this check to use s.toUpperCase() but it looks like vite is using an outdated(?) version of that package right now (so yarn linking it to master breaks vite in other ways).
The text was updated successfully, but these errors were encountered:
Describe the bug
<!doctype html>
causesvite build
to crash with a cryptic error stack. The DOCTYPE is case-insensitive.System Info
vite
version: masterLogs
Reproduction
<!doctype html>
This appears to be an issue in
@vue/compiler-core
. I tried changing this check to uses.toUpperCase()
but it looks like vite is using an outdated(?) version of that package right now (soyarn link
ing it to master breaks vite in other ways).The text was updated successfully, but these errors were encountered: