27 lines
516 B
JavaScript
27 lines
516 B
JavaScript
/* @flow */
|
|
|
|
import {
|
|
isPreTag,
|
|
mustUseProp,
|
|
isReservedTag,
|
|
getTagNamespace
|
|
} from '../util/index'
|
|
|
|
import modules from './modules/index'
|
|
import directives from './directives/index'
|
|
import { genStaticKeys } from 'shared/util'
|
|
import { isUnaryTag, canBeLeftOpenTag } from './util'
|
|
|
|
export const baseOptions: CompilerOptions = {
|
|
expectHTML: true,
|
|
modules,
|
|
directives,
|
|
isPreTag,
|
|
isUnaryTag,
|
|
mustUseProp,
|
|
canBeLeftOpenTag,
|
|
isReservedTag,
|
|
getTagNamespace,
|
|
staticKeys: genStaticKeys(modules)
|
|
}
|