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.
26 lines
516 B
26 lines
516 B
/* @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)
|
|
}
|
|
|