Evan You
bceccf9e21
chore(build): rename __NODE_JS__ build flag to __CJS__
2 years ago
三咲智子 Kevin Deng
bfe6b459d3
style: update format & lint config ( #9162 )
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2 years ago
Divyansh Singh
bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag ( #9550 )
2 years ago
Evan You
50cde7cfbc
perf(compiler-sfc): use faster source map addMapping
2 years ago
Evan You
d193666fdc
chore: use MappingItem type
2 years ago
Evan You
f15d2f6cf6
perf: avoid sfc source map unnecessary serialization and parsing
2 years ago
Evan You
ae7453f0f1
chore: use moduleResolution: bundler + shim estree-walker
2 years ago
Evan You
1c06fe1d02
chore: improve sfc-playground typing + bump repl for 3.3 external type resolve support
close #8051
2 years ago
Evan You
38b977dad5
chore: remove no longer needed shim for stream/web
4 years ago
Che Guevara
6bcb7a5ea3
chore: remove deprecated usage of String.prototype.substr ( #4699 )
4 years ago
Evan You
87c86e4cc2
refactor: ensure ssr branches are included in esm-bundler build
4 years ago
Evan You
d80d40a9c1
chore(sfc-playground): use standalone version of @vue/repl
4 years ago
Evan You
86d78d10e3
refactor(server-renderer): adjust streaming API
- add `pipeToNodeWritable`
- add `pipeToWebWritable`
4 years ago
Evan You
08672222c6
feat(server-renderer): decouple esm build from Node + improve stream API
- deprecate `renderToSTream`
- added `renderToNodeStream`
- added `renderToWebStream`
- added `renderToSimpleStream`
close #3467
close #3111
close #3460
4 years ago
Evan You
47f488350c
chore: run updated prettier
4 years ago
Evan You
24850a99c6
wip: initial compat build setup
4 years ago
Evan You
9613969ffc
workflow(sfc-playground): share and download buttons
4 years ago
Evan You
f76ddc5ac3
workflow: sfc playground
4 years ago
Evan You
5c74243211
test: move mockWarn into setup files
5 years ago
Evan You
54727f9874
feat: provide ability to overwrite feature flags in esm-bundler builds
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.
This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
5 years ago
Evan You
e954ba21f0
feat(build): provide more specific warnings for runtime compilation
close #1004
5 years ago
Evan You
19223f5462
build: remove __BUNLDER__ flag so that HMR is available for all builds
5 years ago
Evan You
32d6a46474
build: avoid runtime wildcard import in global build
6 years ago
Evan You
bc07e95ca8
fix(ssr): avoid hard-coded ssr checks in cjs builds
6 years ago
Evan You
cee36ad028
wip(ssr): render real components
6 years ago
Evan You
efe39db023
feat(runtime-core): hot module replacement
6 years ago
Evan You
300a705221
refactor: use __TEST__ flag
6 years ago
Dmitry Sharshakov
fd209f5a66
feat(core): export version ( #254 )
6 years ago
Evan You
82b5978e9c
build: further shave off runtime compile only code
6 years ago
Evan You
a0f442f1d4
workflow: include commit link in template explorer
6 years ago
Evan You
132cef9063
refactor: further tweak compiler layers
6 years ago
Evan You
d5e9682040
wip: suspense feature flag
6 years ago
Evan You
c833db9c97
feat: production tip
6 years ago
Evan You
a848466f07
test: test for attrs fallthrough
7 years ago
Evan You
3401f6b460
init (graduate from prototype)
7 years ago