# 传入baseOptions
/* @flow */
import { baseOptions } from './options'
import { createCompiler } from 'compiler/index'
// 这个只干了一件事儿,传入baseOptions
const { compile, compileToFunctions } = createCompiler(baseOptions)
export { compile, compileToFunctions }
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9