refactor: further tweak compiler layers

This commit is contained in:
Evan You
2019-09-17 11:57:25 -04:00
parent 6c14b409ca
commit 132cef9063
31 changed files with 288 additions and 269 deletions

View File

@@ -0,0 +1 @@
// TODO

View File

@@ -0,0 +1 @@
// TODO

View File

@@ -0,0 +1 @@
// TODO

View File

@@ -0,0 +1 @@
// TODO

View File

@@ -0,0 +1 @@
// TODO

View File

@@ -1,4 +1,8 @@
// TODO
export * from '@vue/compiler-core'
export { parserOptionsMinimal } from './parserOptionsMinimal'
export { parserOptionsStandard } from './parserOptionsStandard'
import { parserOptionsMinimal } from './parserOptionsMinimal'
import { parserOptionsStandard } from './parserOptionsStandard'
export const parserOptions = __BROWSER__
? parserOptionsMinimal
: parserOptionsStandard

View File

@@ -81,13 +81,5 @@ export const parserOptionsMinimal: ParserOptions = {
isVoidTag(tag: string): boolean {
return VOID_TAG_RE.test(tag)
},
namedCharacterReferences: {
'gt;': '>',
'lt;': '<',
'amp;': '&',
'apos;': "'",
'quot;': '"'
}
}