mirror of https://github.com/vuejs/core.git
chore: fix typo (#7416)
This commit is contained in:
parent
e78c223b30
commit
23c81691d9
|
@ -274,7 +274,7 @@ export function compileScript(
|
||||||
const scriptAst = ctx.scriptAst
|
const scriptAst = ctx.scriptAst
|
||||||
const scriptSetupAst = ctx.scriptSetupAst!
|
const scriptSetupAst = ctx.scriptSetupAst!
|
||||||
|
|
||||||
// 1.1 walk import delcarations of <script>
|
// 1.1 walk import declarations of <script>
|
||||||
if (scriptAst) {
|
if (scriptAst) {
|
||||||
for (const node of scriptAst.body) {
|
for (const node of scriptAst.body) {
|
||||||
if (node.type === 'ImportDeclaration') {
|
if (node.type === 'ImportDeclaration') {
|
||||||
|
|
Loading…
Reference in New Issue