Skip to content

Commit

Permalink
chore: fix broken vite plugin url in warning message (#8224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq authored May 8, 2023
1 parent 8ccc570 commit bf16697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function injectCompilerOptionsCheck(app: App) {
`must be passed to \`@vue/compiler-dom\` in the build setup instead.\n` +
`- For vue-loader: pass it via vue-loader's \`compilerOptions\` loader option.\n` +
`- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n` +
`- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`
`- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc`

Object.defineProperty(app.config, 'compilerOptions', {
get() {
Expand Down

0 comments on commit bf16697

Please sign in to comment.