diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 1d48f0b1..6986db5a 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -33,7 +33,6 @@ "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "dependencies": { "@babel/parser": "^7.15.0", - "@babel/types": "^7.15.0", "@types/estree": "^0.0.48", "@vue/compiler-core": "3.2.12", "@vue/compiler-dom": "3.2.12", @@ -52,6 +51,7 @@ "source-map": "^0.6.1" }, "devDependencies": { + "@babel/types": "^7.15.0", "@types/consolidate": "^0.14.0", "@types/lru-cache": "^5.1.0", "pug": "^3.0.1", diff --git a/packages/compiler-sfc/src/compileScript.ts b/packages/compiler-sfc/src/compileScript.ts index 440c013d..08eb5588 100644 --- a/packages/compiler-sfc/src/compileScript.ts +++ b/packages/compiler-sfc/src/compileScript.ts @@ -98,7 +98,7 @@ export interface SFCScriptCompileOptions { /** * Compile the template and inline the resulting render function * directly inside setup(). - * - Only affects