You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/compiler/index.js

10 lines
218 B

import parse from './parse/index.js';
import generate from './generate/index.js';
export function compile ( template ) {
const parsed = parse( template );
const generated = generate( parsed );
return generated;
}