119 Commits

Author SHA1 Message Date
neverland
5bd6997d3c
chore: add prefix of node core modules (#11440) 2022-12-31 20:27:35 +08:00
neverland
2d9148d5d7
fix(cli): should not empty out dir (#11423) 2022-12-26 09:33:36 +08:00
neverland
e3c7e331f7
perf(cli): remove vite-plugin-html (#11416) 2022-12-24 16:31:26 +08:00
neverland
2d981afde2
fix(cli): duplicate vue in first dev (#11120)
* fix(cli): duplicate vue in first dev

* docs: add changelog
2022-10-07 10:08:46 +08:00
neverland
89718934af
fix(@vant/cli): should replace NODE_ENV in vite v3 (#10887) 2022-08-06 17:37:16 +08:00
chenjiahan
7879fd6395 chore: update repo links 2022-07-23 22:10:20 +08:00
neverland
74c1c2927e
feat(@vant/cli): bump vite 3.0 (#10842)
* feat(@vant/cli): bump vite 3.0

* chore: bump vite plugins
2022-07-23 18:59:57 +08:00
neverland
1ac1bb94e7
feat(cli): support site.headHtml option (#10807)
* feat(cli): support site.headHtml option

* docs: update

* docs: update
2022-07-10 21:20:32 +08:00
neverland
293dab6a51
feat(cli): add build.bundleOptions config (#10751) 2022-06-26 21:42:28 +08:00
neverland
173a364dae
feat(@vant/cli): support custom script extentions (#10624)
* feat(@vant/cli): support custom script extentions

* fix: extensionsMap
2022-05-22 19:57:16 +08:00
zoy-l
2f978ad75c
fix(vant-cli): pnpm compatibility (#10214)
* fix(vant-cli): pnpm compatibility

* chore: clean code, semantic naming
2022-01-19 15:48:19 +08:00
neverland
d4aebef89c
chore(@vant/cli): remove lodash-es from deps (#10206) 2022-01-17 15:43:54 +08:00
codpoe
1f772ad232
fix(@vant/cli): explicitly write the description field in injectHtml (#10113) 2021-12-30 09:55:42 +08:00
neverland
9e67b81288
feat(@vant/cli): add external config for bundles (#9947) 2021-11-26 15:28:53 +08:00
neverland
cfcc84ff25
feat(@vant/cli): generate cjs output (#9942) 2021-11-26 10:43:09 +08:00
chenjiahan
1b45f38133 refactor(@vant/cli): migrate to ESM package 2021-10-28 20:09:00 +08:00
neverland
8585842712
feat(@vant/cli): support custom vite config (#9738) 2021-10-27 14:46:37 +08:00
neverland
850aedd864
fix(@vant/cli): should configure cssTarget (#9707) 2021-10-21 17:54:51 +08:00
neverland
e901c9cd9e
style(@vant/cli): fix site style in small screen (#9661) 2021-10-12 10:02:34 +08:00
neverland
78bcd368ae
perf(@vant/cli): using terser to minify package (#9640) 2021-10-08 15:32:44 +08:00
aisen60
c6e6f17cb7
fix(@vant/cli): set typographer to false for markdownItOptions (#9627) 2021-10-07 09:55:24 +08:00
neverland
1457a27fb4
fix(@vant/cli): added markdown link open plugin (#9597) 2021-09-30 10:45:55 +08:00
neverland
9bd0f9f6bb
perf(@vant/cli): configure manualChunks (#9584) 2021-09-28 20:00:53 +08:00
neverland
751a263999
feat(@vant/cli): add enableVConsole option (#9527) 2021-09-20 17:18:08 +08:00
chenjiahan
e20b05e10b perf(@vant/cli): reduce small CSS files 2021-09-08 17:23:47 +08:00
chenjiahan
a2f4ceaace feat(@vant/cli): add site.htmlMeta option 2021-09-07 20:50:35 +08:00
chenjiahan
2dd7e853d6 feat(@vant/cli): using vite to build site 2021-09-07 11:59:12 +08:00
chenjiahan
a9b4f88860 chore(@vant/cli): remove webpack related deps 2021-09-07 10:57:11 +08:00
chenjiahan
a2b942be8c feat: add vite-plugin-html to modify template 2021-09-06 20:54:59 +08:00
chenjiahan
ee1ee0fe29 test: fix jest failure 2021-09-05 16:33:28 +08:00
chenjiahan
e307bfc627 feat: create dev server for desktop site 2021-09-05 12:31:32 +08:00
chenjiahan
b7adc8c199 feat(@vant/cli): using vite to build packages 2021-09-04 17:11:47 +08:00
neverland
816790a875
chore(@vant/cli): bump jest v27 (#9293) 2021-08-20 10:15:17 +08:00
neverland
c67127541e
feat(cli): bump webpack-dev-server v4 (#9292)
* feat(cli): bump webpack-dev-server v4

* fix: deps
2021-08-19 20:18:37 +08:00
neverland
a7a81ab5d5
fix(cli): allow custom postcss autoprefixer (#8912) 2021-06-23 15:57:41 +08:00
chenjiahan
e38c5d27e0 chore: remove friendly-errors-webpack-plugin 2021-04-14 09:35:08 +08:00
chenjiahan
5ac2033e2d chore(cli): remove @babel/plugin-transform-runtime 2021-04-14 09:35:08 +08:00
neverland
a066e3a4bb
chore(cli): imporve resolve path (#8496) 2021-04-10 14:53:34 +08:00
chenjiahan
8013d2d49f chore(cli): remove @babel/plugin-transform-object-assign 2021-04-04 08:38:22 +08:00
HaoChuan9421
f1d72cb016 feat(vant-cli): 为 README 文件增加 vue-loader 以支持预览 demo 文件 2021-03-12 10:42:58 +08:00
chenjiahan
3a4422e67e Revert "fix(cli): update dev server config"
This reverts commit a7c3ce989e5f42d395fabe1124560b4ebaec6c46.
2021-01-22 17:36:15 +08:00
chenjiahan
a7c3ce989e fix(cli): update dev server config 2021-01-12 11:44:30 +08:00
chenjiahan
530ee0e0d0 perf(cli): disable enableObjectSlots by default 2021-01-09 21:44:12 +08:00
chenjiahan
be87fac7b6 feat(cli): add babel loose mode config 2020-12-04 14:12:22 +08:00
chenjiahan
a299849294 Merge branch '2.x' into dev 2020-12-03 17:19:17 +08:00
chenjiahan
7095773854 feat(cli): add site.htmlPluginOptions config 2020-12-03 16:42:23 +08:00
chenjiahan
c13b734c90 fix(cli): failed to compile ts sfc 2020-11-27 15:49:14 +08:00
chenjiahan
7e7484a5cb fix(cli): postcss loader option changed 2020-11-21 22:20:16 +08:00
chenjiahan
34f95afb82 chore(cli): downgrade postcss@7 2020-11-21 22:05:16 +08:00
chenjiahan
71def44061 Merge branch '2.x' into dev 2020-11-15 15:38:22 +08:00