1.6.2 (2021-06-03)
- add
filename
option for compile jsx (f8cd9c4), closes #58 - add default
doctype
option for pug (65bcf92) - add typescript support for jsx (ee72c09), closes #49 #44
- babel transform ignore babelrc file (3735379), closes #54
- fix ci (cb3b34c)
- fix sourcemap for ts (1e03983), closes #70
- fix test (b43cedf)
- generate sourcemap (612d2d5), closes #34
- handle jsx (7898936), closes #56
- move vue-template-compiler to dependencies (#87) (0de32c9)
- parse custom block code correctly. (#66) (2d6175b)
- remove
@vue/compiler-sfc
dep (4146ef1), closes #45 - revert add sourcemap for temaplate block (6fa3cd0)
- rewrite asset with hash path, avoid name conflict (b5cf6b1), closes #81
- source maps (#84) (97f2ca4)
- start serve with
vite preview
(ec972fd) - support jsx script blocks within sfc (#53) (ec3f329)
- use
esbuild
compile ts files (378622b), closes /github.com/underfin/vite-plugin-vue2/issues/49#issuecomment-799301238 - use
import
rather than dynamicrequire
(#51) (650e7f5)
- add
vueTemplateCompiler
option (3274c05), closes #76 - default compilerOptions: whitespace: 'condense' (#62) (ab62cce)
- import vue file as raw correctly (#72) (175beb3)
1.2.2 (2021-02-27)
- playground: move alias into resolve (6e03e2c)
- add '\0' for virtual module (b3c4a1b), closes #24
- add miss dependency (8e9d089), closes #14
- copy sfc descriptor to prevent caching issues (#9) (0e13938)
- disable vite internal
rollup-plugin-vue
(26f39d2) - fallback assets resolve + bump
@vue/component-compiler-utils
(0d04c91) - fix assets alias handling (fed3acf), closes #26 #21
- fix dev type error + update package.json (958ba81)
- fix playground (ba74992)
- fix some importer from
vite
(c52e513) - fix sourcemap (9d59723), closes #4
- fix test (194f37e)
- fix test (660eb5c)
- fix vue block src hmr (606e01b)
- ignore empty style block (0dd5e0a)
- none vue script block sourcemap (09259cc)
- pass transform with jsx is truly (97c0916), closes /github.com/vitejs/vite/issues/970#issuecomment-718461256
- reslove alias assets (813c89c), closes #21 #20
- sfc src import respect alias (4a834b7)
- skip rewrite url for id refrence at
xlink:href
atuse
tag (71b4263), closes #36 - special handling for class default export in sfc (#29) (3be490d)
- build: resolve template assets reference on build (94b3899), closes #15
- dev: script gencode should place top to reflect sourcemap (#8) (6ea995d)
- hmr: normalize dev path for hmr (4ffb851)
- sourcemap: ignore sourceRoot before merge sourcemap (2572aaa), closes #11
- rewrite default for vue script block (360b4dd)
- update client path + bump vite (ea635d2)
- update test (cd5a360)
- use esbuild for ts lang block script (ee09922)
- custom block (19f7274)
- determine preprocessLang at template block (#42) (c206f88)
- error handling (1c430ab)
- jsx: use
babel-preset-jsx
(05248ff), closes #17 - JSX handling (cbd619d), closes #5
- support build (77a989d)
- support module css (251e5cc)
- support pass options for plugin (3041c2d)
- support vite@2.x (#13) (2a9ac82)
- dev: assets handling (71c768a)
- dev: support block src import handling (fef184b)
- dev: support script block src import handling (87eaebe)