File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
packages/svelte/src/compiler/phases/3-transform/server/visitors Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 11/** @import { BlockStatement } from 'estree' */
22/** @import { AST } from '#compiler' */
33/** @import { ComponentContext } from '../types' */
4-
5- import {
6- BLOCK_CLOSE ,
7- BLOCK_OPEN ,
8- EMPTY_COMMENT
9- } from '../../../../../internal/server/hydration.js' ;
4+ import { BLOCK_CLOSE , BLOCK_OPEN } from '../../../../../internal/server/hydration.js' ;
105import * as b from '../../../../utils/builders.js' ;
116
127/**
138 * @param {AST.SvelteBoundary } node
149 * @param {ComponentContext } context
1510 */
1611export function SvelteBoundary ( node , context ) {
17- context . state . template . push ( b . literal ( BLOCK_OPEN ) ) ;
18- context . state . template . push ( /** @type {BlockStatement } */ ( context . visit ( node . fragment ) ) ) ;
19- context . state . template . push ( b . literal ( BLOCK_CLOSE ) ) ;
12+ context . state . template . push (
13+ b . literal ( BLOCK_OPEN ) ,
14+ /** @type {BlockStatement } */ ( context . visit ( node . fragment ) ) ,
15+ b . literal ( BLOCK_CLOSE )
16+ ) ;
2017}
You can’t perform that action at this time.
0 commit comments