Commit Graph

155 Commits

Author SHA1 Message Date
underfin
452edb73cb
fix(compiler-sfc): fix rewrite named export default (#1675) 2020-07-22 21:00:41 -04:00
Evan You
d63daaf9b6 release: v3.0.0-rc.4 2020-07-21 15:40:46 -04:00
Evan You
11c2ad4a04 fix(deps): move @babel/types back to dependencies 2020-07-21 15:39:54 -04:00
Evan You
7753485baa release: v3.0.0-rc.3 2020-07-21 15:27:26 -04:00
Evan You
4951d43526 fix(compiler-sfc): <style vars scoped> prefixing should only apply to pre-transform source
fix #1623
2020-07-21 15:05:28 -04:00
Evan You
be4df124e6 refactor: move @babel/types to dev deps, reduce install size 2020-07-20 22:14:05 -04:00
underfin
6f148d0b9a
fix(compiler-sfc): use correct importer with useCssVars (#1658)
fix #https://github.com/vitejs/vite/issues/578
2020-07-20 12:46:33 -04:00
Liaogming
19e41eaddc
chore(compiler-sfc): delete empty file in fixture (#1649) 2020-07-20 12:43:58 -04:00
Evan You
1f4045a086 release: v3.0.0-rc.2 2020-07-19 14:52:42 -04:00
underfin
0526e5d7fa
fix(compiler-sfc): use filename from options when compile styl preprocessor (#1635)
fix #https://github.com/vitejs/vite/issues/577
2020-07-19 14:17:31 -04:00
Evan You
0ea14cade9 release: v3.0.0-rc.1 2020-07-17 15:30:17 -04:00
ezshine
2c3427413d
chore: typo [ci skip] (#1604) 2020-07-17 11:24:53 -04:00
lawvs
a935998b33
chore: better comment hovers preview [ci skip] (#1612) 2020-07-17 11:24:12 -04:00
Guillaume Chau
568b6db12b
feat: Initial devtools support (#1125) 2020-07-16 18:18:52 -04:00
Evan You
5ed73cd874 release: v3.0.0-beta.24 2020-07-16 13:51:52 -04:00
Evan You
d5055cd8dd refactor(compiler-sfc): simplify style preprocessors 2020-07-16 13:38:46 -04:00
Evan You
9cb29eea3a fix(compiler-sfc): fix preprocessor filename access 2020-07-16 13:36:31 -04:00
Evan You
8b5d153d7f release: v3.0.0-beta.23 2020-07-16 12:48:56 -04:00
underfin
e41d8310de
feat(compiler-sfc): export dependencies for css and css preprocessors (#1278) 2020-07-16 12:33:37 -04:00
Evan You
9b5ff2b567 fix(compiler-sfc): fix useCssVars codegen 2020-07-15 18:05:35 -04:00
Evan You
af4b0c2cf1 fix(compiler-sfc): prohibit src usage for <script setup> + do not
process non js/ts blocks in compileScript
2020-07-15 17:44:02 -04:00
Evan You
11727b9e1e refactor(compiler-sfc): adjust sfc compileScript usage 2020-07-15 16:27:21 -04:00
Evan You
03f924e48a refactor(compiler-sfc): move sfc parse errors into return result
Also warn against `<script setup src>` usage
2020-07-15 16:00:53 -04:00
Evan You
fcbefdb769 release: v3.0.0-beta.22 2020-07-15 12:43:41 -04:00
cexbrayat
9146cc485e fix(compiler-sfc): <script setup> warning
The warning was showing even if the component is only using a classic `<script>`
2020-07-15 12:32:11 -04:00
Evan You
9188e9ea74 release: v3.0.0-beta.21 2020-07-14 17:18:07 -04:00
Evan You
b9595e64cf feat: ssr support for <style vars> 2020-07-12 18:04:09 -04:00
Evan You
b6cdd5621e wip: template binding optimization 2020-07-10 22:12:25 -04:00
Evan You
5f271515cf refactor: shorten scoped css var / animation prefix 2020-07-10 18:47:31 -04:00
Evan You
4c43d4e5b9 feat(compiler-sfc): <script setup> support (experimental)
This is the last commit for the feature which adds async/await detection.
2020-07-10 18:00:13 -04:00
Evan You
73bfce3706 refactor: only rewrite css varaiable in <style scoped> when vars is present 2020-07-10 17:10:48 -04:00
Evan You
f3cc41f0c8 feat(compiler-sfc): allow using :deep, :global & :slotted for short in <style scoped> 2020-07-10 16:47:36 -04:00
Evan You
bd5c3b96be feat(compiler-sfc): <style vars> CSS variable injection 2020-07-10 16:30:58 -04:00
Evan You
bb47510aae wip: fix tests 2020-07-09 23:06:11 -04:00
Evan You
b4f7ab45ea refactor: simplify sfc script transform usage 2020-07-09 18:18:46 -04:00
Evan You
18c537d3c2 wip: test for runtime props/emits extraction 2020-07-09 12:17:28 -04:00
Evan You
2c3cdab93d wip: generate runtime prop type checks in dev 2020-07-09 12:17:28 -04:00
Evan You
3e1cdba9db wip: tests for compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
e4df2d7749 wip: export { x as default } handling 2020-07-09 12:17:28 -04:00
Evan You
a44d53003e wip: move type declarations out of setup 2020-07-09 12:17:28 -04:00
Evan You
c0d86070fd wip: extract runtime props/emits from type declarations 2020-07-09 12:17:28 -04:00
Evan You
608885350b wip: compileScript typed signature generation 2020-07-09 12:17:28 -04:00
Evan You
a47478caf4 wip: compileScriptSetup full js support 2020-07-09 12:17:28 -04:00
Evan You
1359cc3a28 wip: compileScriptSetup 2020-07-09 12:17:28 -04:00
Evan You
1ad3f975ed wip: parser support for script setup 2020-07-09 12:17:28 -04:00
Evan You
20df2f3817 release: v3.0.0-beta.20 2020-07-08 12:45:30 -04:00
Felix Rilling
829b35e426
chore: typo fixes (#1546)
* chore: fix typos in comments/JSDoc.

* chore: fix typo in internal function name.

* chore: fix typos in test comments/descriptions/variable names.
2020-07-08 12:32:42 +02:00
Evan You
d5ab70ba66 release: v3.0.0-beta.19 2020-07-07 10:04:31 -04:00
Evan You
7f83856f34 release: v3.0.0-beta.18 2020-07-01 21:06:25 -04:00
Evan You
f6da6bf999 release: v3.0.0-beta.17 2020-06-30 12:10:15 -04:00