From: ntnyq Date: Mon, 8 May 2023 06:47:02 +0000 (+0800) Subject: chore: fix broken vite plugin url in warning message (#8224) X-Git-Tag: v3.3.0-beta.5~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf16697e25ccc904181f65f50389f9570c1f3386;p=thirdparty%2Fvuejs%2Fcore.git chore: fix broken vite plugin url in warning message (#8224) --- diff --git a/packages/runtime-dom/src/index.ts b/packages/runtime-dom/src/index.ts index 354cc4c5bf..ad818a34bb 100644 --- a/packages/runtime-dom/src/index.ts +++ b/packages/runtime-dom/src/index.ts @@ -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() {