fix(typo): transformSlotOutlet name correction (#83)
This commit is contained in:
parent
6dfb62e1ac
commit
ea4a352ee6
@ -19,7 +19,7 @@ import {
|
|||||||
import { transformIf } from '../src/transforms/vIf'
|
import { transformIf } from '../src/transforms/vIf'
|
||||||
import { transformFor } from '../src/transforms/vFor'
|
import { transformFor } from '../src/transforms/vFor'
|
||||||
import { transformElement } from '../src/transforms/transformElement'
|
import { transformElement } from '../src/transforms/transformElement'
|
||||||
import { transformSlotOutlet } from '../src/transforms/transfromSlotOutlet'
|
import { transformSlotOutlet } from '../src/transforms/transformSlotOutlet'
|
||||||
import { optimizeText } from '../src/transforms/optimizeText'
|
import { optimizeText } from '../src/transforms/optimizeText'
|
||||||
|
|
||||||
describe('compiler: transform', () => {
|
describe('compiler: transform', () => {
|
||||||
|
@ -11,7 +11,7 @@ import { transformOn } from '../../src/transforms/vOn'
|
|||||||
import { transformBind } from '../../src/transforms/vBind'
|
import { transformBind } from '../../src/transforms/vBind'
|
||||||
import { transformExpression } from '../../src/transforms/transformExpression'
|
import { transformExpression } from '../../src/transforms/transformExpression'
|
||||||
import { RENDER_SLOT } from '../../src/runtimeConstants'
|
import { RENDER_SLOT } from '../../src/runtimeConstants'
|
||||||
import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet'
|
import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet'
|
||||||
|
|
||||||
function parseWithSlots(template: string, options: CompilerOptions = {}) {
|
function parseWithSlots(template: string, options: CompilerOptions = {}) {
|
||||||
const ast = parse(template)
|
const ast = parse(template)
|
||||||
|
@ -4,7 +4,7 @@ import { transformIf } from '../../src/transforms/vIf'
|
|||||||
import { transformFor } from '../../src/transforms/vFor'
|
import { transformFor } from '../../src/transforms/vFor'
|
||||||
import { transformBind } from '../../src/transforms/vBind'
|
import { transformBind } from '../../src/transforms/vBind'
|
||||||
import { transformElement } from '../../src/transforms/transformElement'
|
import { transformElement } from '../../src/transforms/transformElement'
|
||||||
import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet'
|
import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet'
|
||||||
import { transformExpression } from '../../src/transforms/transformExpression'
|
import { transformExpression } from '../../src/transforms/transformExpression'
|
||||||
import {
|
import {
|
||||||
ForNode,
|
ForNode,
|
||||||
|
@ -2,7 +2,7 @@ import { parse } from '../../src/parse'
|
|||||||
import { transform } from '../../src/transform'
|
import { transform } from '../../src/transform'
|
||||||
import { transformIf } from '../../src/transforms/vIf'
|
import { transformIf } from '../../src/transforms/vIf'
|
||||||
import { transformElement } from '../../src/transforms/transformElement'
|
import { transformElement } from '../../src/transforms/transformElement'
|
||||||
import { transformSlotOutlet } from '../../src/transforms/transfromSlotOutlet'
|
import { transformSlotOutlet } from '../../src/transforms/transformSlotOutlet'
|
||||||
import {
|
import {
|
||||||
IfNode,
|
IfNode,
|
||||||
NodeTypes,
|
NodeTypes,
|
||||||
|
@ -6,7 +6,7 @@ import { isString } from '@vue/shared'
|
|||||||
import { transformIf } from './transforms/vIf'
|
import { transformIf } from './transforms/vIf'
|
||||||
import { transformFor } from './transforms/vFor'
|
import { transformFor } from './transforms/vFor'
|
||||||
import { transformExpression } from './transforms/transformExpression'
|
import { transformExpression } from './transforms/transformExpression'
|
||||||
import { transformSlotOutlet } from './transforms/transfromSlotOutlet'
|
import { transformSlotOutlet } from './transforms/transformSlotOutlet'
|
||||||
import { transformElement } from './transforms/transformElement'
|
import { transformElement } from './transforms/transformElement'
|
||||||
import { transformOn } from './transforms/vOn'
|
import { transformOn } from './transforms/vOn'
|
||||||
import { transformBind } from './transforms/vBind'
|
import { transformBind } from './transforms/vBind'
|
||||||
|
Loading…
Reference in New Issue
Block a user