Преглед изворни кода

chore: fix typo in compat warning

Cédric Exbrayat пре 5 година
родитељ
комит
808ccf0963
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/runtime-core/src/compat/compatConfig.ts

+ 1 - 1
packages/runtime-core/src/compat/compatConfig.ts

@@ -546,7 +546,7 @@ export function validateCompatConfig(config: CompatConfig) {
       if (key.startsWith('COMPILER_')) {
       if (key.startsWith('COMPILER_')) {
         if (isRuntimeOnly()) {
         if (isRuntimeOnly()) {
           warn(
           warn(
-            `Depreaction config "${key}" is compiler-specific and you are ` +
+            `Deprecation config "${key}" is compiler-specific and you are ` +
               `running a runtime-only build of Vue. This deprecation should be ` +
               `running a runtime-only build of Vue. This deprecation should be ` +
               `configured via compiler options in your build setup instead.`
               `configured via compiler options in your build setup instead.`
             // TODO link to migration build docs on build setup
             // TODO link to migration build docs on build setup