Evan You
90bdf59f4c
refactor(compiler): better constant hoist/stringify checks
2020-11-20 19:26:07 -05:00
Evan You
1f6e72b110
fix(compiler): support full range of entity decoding in browser builds
...
BREAKING CHANGE: compiler options have been adjusted.
- new option `decodeEntities` is added.
- `namedCharacterReferences` option has been removed.
- `maxCRNameLength` option has been rmeoved.
2020-04-08 18:51:25 -04:00
Evan You
8c17535a47
fix(compiler): should not condense
...
fix #945
2020-04-08 17:33:07 -04:00
Evan You
be666ebd59
fix(compiler): should only strip leading newline directly in pre tag
2020-04-08 16:44:32 -04:00
Evan You
7f30cb5772
fix(compiler): fix pre tag whitespace handling
...
- should preserve whitespace even in nested elements
- should remove leading newline per spec
fix #908
2020-04-03 21:02:20 -04:00
Evan You
0831b98eac
fix(compiler-core): support interpolation in RCDATA mode (e.g. textarea)
2020-03-23 17:25:29 -04:00
Evan You
90ddb7c260
refactor: expose parse in compiler-dom, improve sfc parse error handling
2019-12-22 19:44:21 -05:00
djy0
8d7a186def
chore: fix typo ( #395 )
2019-10-27 20:44:24 -04:00
Evan You
eb20730a67
feat(compiler): preserve whitespace in pre tag, add tests
2019-10-24 16:42:09 -04:00
Evan You
9298f46f92
feat(compiler-core): whitespace handling
2019-10-24 16:22:48 -04:00
大江东去
7cd1b7fcaf
test(compiler-dom): test namespace parsing ( #356 )
2019-10-23 10:35:45 -04:00
HcySunYang
68a3879b88
feat(compiler-core): more hoisting optimizations ( #276 )
2019-10-15 11:41:24 -04:00
月迷津渡
78f60347dc
feat(compiler): add isNativeTag option for determining element type ( #139 )
2019-10-10 14:54:06 -04:00
Evan You
d900c13efb
refactor(compiler): separate Interpolation, SimpleExpression & CompoundExpression types
2019-09-27 11:42:02 -04:00
Evan You
63b6902bdb
feat(compiler): correct source map generation
2019-09-26 14:55:53 -04:00
Evan You
b3b67b8c7d
feat(compiler): ensure interpolation expressions are wrapped with toString()
2019-09-23 15:36:30 -04:00
Evan You
3f05315d17
test: fix tests
2019-09-21 17:48:17 -04:00
Evan You
bbb57c26a2
feat(compiler): basic transform implementation
2019-09-17 19:08:47 -04:00
Evan You
132cef9063
refactor: further tweak compiler layers
2019-09-17 11:57:37 -04:00
Evan You
6c14b409ca
refactor: move dom-specific options to compiler-dom
2019-09-17 11:57:37 -04:00