Skip to content

Commit

Permalink
feat(vconsole-helper): add vconsole-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Jan 15, 2025
1 parent c6d63ee commit 6c63c55
Show file tree
Hide file tree
Showing 199 changed files with 3,086 additions and 317 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!-- 复制到 docs时,去掉“详细文档”,链接替换: packages/ => zh/ -->
<!-- find ./packages -type d -name "webpack-plugin-*" | wc -l -->
## Plugin Light

`Plugin Light` 是一个丰富、易用的工具集。包含一些 `Webpack` 相关插件,比如
`Plugin Light` 是一个丰富、易用的工具集。包含一些 `Webpack` 相关插件(25+),比如

- [依赖分析 (webpack-plugin-analyze-deps)](./packages/webpack-plugin-analyze-deps/)
- [脚本分发 (webpack-plugin-dispatch-script)](./packages/webpack-plugin-dispatch-script/)
Expand All @@ -14,7 +15,7 @@
- ...


以及一些 `Webpack Loader`
以及一些 `Webpack Loader`(20+)

- [自定义`ifdef` (webpack-loader-ifdef)](./packages/webpack-loader-ifdef/)
- [插入全局组件 (webpack-loader-insert-global-comp)](./packages/webpack-loader-insert-global-comp/)
Expand All @@ -26,7 +27,7 @@
- ...


一些 `Vite Plugin`
一些 `Vite Plugin`(23+)

- [文件后增加代码 (vite-plugin-add-code-at-end)](./packages/vite-plugin-add-code-at-end/)
- [三方库别名处理 (vite-plugin-alias-for-library)](./packages/vite-plugin-alias-for-library/)
Expand Down
16 changes: 16 additions & 0 deletions docs/.vuepress/sidebar-changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"title": "uni-read-pages-vite",
"path": "/changelog/uni-read-pages-vite.md"
},
{
"title": "vconsole-helper",
"path": "/changelog/vconsole-helper.md"
},
{
"title": "vite-plugin-add-code-at-end",
"path": "/changelog/vite-plugin-add-code-at-end.md"
Expand All @@ -52,6 +56,10 @@
"title": "vite-plugin-alias-for-library",
"path": "/changelog/vite-plugin-alias-for-library.md"
},
{
"title": "vite-plugin-analyze-bundle-file-size",
"path": "/changelog/vite-plugin-analyze-bundle-file-size.md"
},
{
"title": "vite-plugin-chunk-split",
"path": "/changelog/vite-plugin-chunk-split.md"
Expand Down Expand Up @@ -96,10 +104,18 @@
"title": "vite-plugin-insert-global-comp",
"path": "/changelog/vite-plugin-insert-global-comp.md"
},
{
"title": "vite-plugin-legacy-polyfill",
"path": "/changelog/vite-plugin-legacy-polyfill.md"
},
{
"title": "vite-plugin-rem-to-rpx",
"path": "/changelog/vite-plugin-rem-to-rpx.md"
},
{
"title": "vite-plugin-replace-keyword",
"path": "/changelog/vite-plugin-replace-keyword.md"
},
{
"title": "vite-plugin-replace-require-dynamic",
"path": "/changelog/vite-plugin-replace-require-dynamic.md"
Expand Down
22 changes: 22 additions & 0 deletions docs/.vuepress/sidebar.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@
"title": "三方库别名处理",
"path": "/zh/vite-plugin-alias-for-library.md"
},
{
"title": "产物文件大小分析",
"path": "/zh/vite-plugin-analyze-bundle-file-size.md"
},
{
"title": "vite-plugin-chunk-split",
"path": "/zh/vite-plugin-chunk-split.md"
Expand Down Expand Up @@ -200,10 +204,18 @@
"title": "全局组件注入",
"path": "/zh/vite-plugin-insert-global-comp.md"
},
{
"title": "修复 vitejs/plugin-legacy 不支持 CDN",
"path": "/zh/vite-plugin-legacy-polyfill.md"
},
{
"title": "Rem 转换",
"path": "/zh/vite-plugin-rem-to-rpx.md"
},
{
"title": "替换关键词",
"path": "/zh/vite-plugin-replace-keyword.md"
},
{
"title": "动态导入组件语法替换",
"path": "/zh/vite-plugin-replace-require-dynamic.md"
Expand Down Expand Up @@ -283,6 +295,16 @@
"path": "/zh/uni-read-pages-vite.md"
}
]
},
{
"title": "运行时",
"collapsable": false,
"children": [
{
"title": "VConsole 工具",
"path": "/zh/vconsole-helper.md"
}
]
}
]
}
9 changes: 4 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- 复制到 docs时,去掉“详细文档”,链接替换: packages/ => zh/ -->
<!-- 复制到 docs时,去掉“详细文档”,链接替换: zh/ => zh/ -->
## Plugin Light

`Plugin Light` 是一个丰富、易用的工具集。包含一些 `Webpack` 相关插件,比如
`Plugin Light` 是一个丰富、易用的工具集。包含一些 `Webpack` 相关插件(25+),比如

- [依赖分析 (webpack-plugin-analyze-deps)](./zh/webpack-plugin-analyze-deps/)
- [脚本分发 (webpack-plugin-dispatch-script)](./zh/webpack-plugin-dispatch-script/)
Expand All @@ -14,7 +14,7 @@
- ...


以及一些 `Webpack Loader`
以及一些 `Webpack Loader`(20+)

- [自定义`ifdef` (webpack-loader-ifdef)](./zh/webpack-loader-ifdef/)
- [插入全局组件 (webpack-loader-insert-global-comp)](./zh/webpack-loader-insert-global-comp/)
Expand All @@ -26,7 +26,7 @@
- ...


一些 `Vite Plugin`
一些 `Vite Plugin`(23+)

- [文件后增加代码 (vite-plugin-add-code-at-end)](./zh/vite-plugin-add-code-at-end/)
- [三方库别名处理 (vite-plugin-alias-for-library)](./zh/vite-plugin-alias-for-library/)
Expand Down Expand Up @@ -127,4 +127,3 @@ module.export = {
3. `sync-repo` 功能已经废弃。

4. `stylelint-plugin/no-useless-css` 插件已经废弃。

9 changes: 9 additions & 0 deletions docs/changelog/plugin-light-shared-vue2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# plugin-light-shared-vue2

## <small>0.0.8 (2024-12-14)</small>

* feat(uni-cli-shared): 分离vue2版本的uni-cli-shared ([cde37ee](https://github.com/novlan1/plugin-light/commits/cde37ee))
* chore: 优化版本号 ([bf5a4cb](https://github.com/novlan1/plugin-light/commits/bf5a4cb))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))



## <small>0.0.7 (2024-11-24)</small>

* chore: add meta in pkg.json ([3f6088c](https://github.com/novlan1/plugin-light/commits/3f6088c))
Expand Down
27 changes: 27 additions & 0 deletions docs/changelog/plugin-light-shared.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# plugin-light-shared

## <small>0.0.18 (2024-12-24)</small>

* feat(bundle): add analyze-bundle-file-size ([8f5a04f](https://github.com/novlan1/plugin-light/commits/8f5a04f))



## <small>0.0.17 (2024-12-16)</small>

* feat(gen-version): remove quote ([ec2a6cb](https://github.com/novlan1/plugin-light/commits/ec2a6cb))



## <small>0.0.16 (2024-12-14)</small>

* feat(uni-cli-shared): 分离vue2版本的uni-cli-shared ([cde37ee](https://github.com/novlan1/plugin-light/commits/cde37ee))



## <small>0.0.15 (2024-12-14)</small>

* feat(cdn-map): 统一使用shared中的cdnMap ([7bac1bb](https://github.com/novlan1/plugin-light/commits/7bac1bb))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* chore: update t-comm ([4db6427](https://github.com/novlan1/plugin-light/commits/4db6427))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))



## <small>0.0.14 (2024-12-05)</small>

* feat(shared): add findNodeModulesFile ([232a7df](https://github.com/novlan1/plugin-light/commits/232a7df))
Expand Down
79 changes: 79 additions & 0 deletions docs/changelog/project-config-uni-vite.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
# project-config-uni-vite

## <small>0.0.32 (2025-01-07)</small>

* feat(legacy-polyfill): add vite-plugin-legacy-polyfill ([2c851f7](https://github.com/novlan1/plugin-light/commits/2c851f7))
* feat(uni-vite): add vite-plugin-legacy-polyfill ([2383514](https://github.com/novlan1/plugin-light/commits/2383514))



## <small>0.0.31 (2025-01-06)</small>

* feat(uni-vite): add useESBuildPlugin ([8bee879](https://github.com/novlan1/plugin-light/commits/8bee879))



## <small>0.0.30 (2025-01-06)</small>

* feat(uni-vite): add legacy ([01c51f3](https://github.com/novlan1/plugin-light/commits/01c51f3))
* docs: update docs ([7a2e888](https://github.com/novlan1/plugin-light/commits/7a2e888))



## <small>0.0.29 (2024-12-25)</small>

* feat(project-config-uni-vite): update pmd-npm name ([405b787](https://github.com/novlan1/plugin-light/commits/405b787))
* refactor: use t-comm generateCSVData ([dd92800](https://github.com/novlan1/plugin-light/commits/dd92800))



## <small>0.0.28 (2024-12-25)</small>

* feat(bundle): add analyze-bundle-file-size ([8f5a04f](https://github.com/novlan1/plugin-light/commits/8f5a04f))
* feat(project-config-uni-vite): add analyze-bundle-file-size ([2ffe713](https://github.com/novlan1/plugin-light/commits/2ffe713))
* docs: update docs ([e9a9f9c](https://github.com/novlan1/plugin-light/commits/e9a9f9c))
* chore: update docs ([4d4335e](https://github.com/novlan1/plugin-light/commits/4d4335e))



## <small>0.0.27 (2024-12-16)</small>

* update deps


## <small>0.0.26 (2024-12-15)</small>

* fix(project-config-uni-vite): fix cssConfig error ([a4c0d78](https://github.com/novlan1/plugin-light/commits/a4c0d78))



## <small>0.0.25 (2024-12-15)</small>

* feat(project-config-uni-vite): hide warning ([de854b4](https://github.com/novlan1/plugin-light/commits/de854b4))



## <small>0.0.24 (2024-12-15)</small>

* feat(project-config-uni-vite): add css options ([4f0ead2](https://github.com/novlan1/plugin-light/commits/4f0ead2))
* docs: update docs ([d48e2ce](https://github.com/novlan1/plugin-light/commits/d48e2ce))




## <small>0.0.22 (2024-12-14)</small>

* chore(project-config-uni-vite): update types ([7305bf3](https://github.com/novlan1/plugin-light/commits/7305bf3))



## <small>0.0.21 (2024-12-14)</small>

* feat(cdn-map): 统一使用shared中的cdnMap ([7bac1bb](https://github.com/novlan1/plugin-light/commits/7bac1bb))
* feat(project-config-uni-vite): add useChunkSplit ([484b1eb](https://github.com/novlan1/plugin-light/commits/484b1eb))
* chore: lint ([9deff90](https://github.com/novlan1/plugin-light/commits/9deff90))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* chore: update docs ([f8f5a1b](https://github.com/novlan1/plugin-light/commits/f8f5a1b))
* chore: update t-comm ([4db6427](https://github.com/novlan1/plugin-light/commits/4db6427))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))



## <small>0.0.20 (2024-12-06)</small>

* feat(project-config-uni-vite): remove console and debug ([6beaec5](https://github.com/novlan1/plugin-light/commits/6beaec5))
Expand Down
12 changes: 12 additions & 0 deletions docs/changelog/project-config-uni-vue.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# project-config-uni-vue

## <small>0.0.4 (2024-12-16)</small>

* feat(cdn-map): 统一使用shared中的cdnMap ([7bac1bb](https://github.com/novlan1/plugin-light/commits/7bac1bb))
* chore: 优化版本号 ([bf5a4cb](https://github.com/novlan1/plugin-light/commits/bf5a4cb))
* chore: 增加导出types ([58edd0b](https://github.com/novlan1/plugin-light/commits/58edd0b))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* chore: update t-comm ([4db6427](https://github.com/novlan1/plugin-light/commits/4db6427))
* chore: update t-comm ([72ee5c2](https://github.com/novlan1/plugin-light/commits/72ee5c2))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))



## <small>0.0.3 (2024-11-19)</small>

* feat(project-config-uni-vue): 支持打包产物位置自定义 ([d7be14c](https://github.com/novlan1/plugin-light/commits/d7be14c))
Expand Down
21 changes: 21 additions & 0 deletions docs/changelog/vconsole-helper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# vconsole-helper

## <small>0.0.4 (2025-01-13)</small>

* feat(vconsole): 优化vconsole ([373e119](https://github.com/novlan1/plugin-light/commits/373e119))



## <small>0.0.3 (2025-01-13)</small>

* docs: update docs ([0fe3c0e](https://github.com/novlan1/plugin-light/commits/0fe3c0e))



## <small>0.0.2 (2025-01-13)</small>

* feat(vconsole-helper): add vconsole-helper ([3b65f43](https://github.com/novlan1/plugin-light/commits/3b65f43))
* feat(vconsole): 优化vsonsole ([25a9084](https://github.com/novlan1/plugin-light/commits/25a9084))



15 changes: 15 additions & 0 deletions docs/changelog/vite-plugin-analyze-bundle-file-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# vite-plugin-analyze-bundle-file-size

## <small>0.0.3 (2024-12-25)</small>

* feat(analyze): 优化输出文件名称 ([aa195bd](https://github.com/novlan1/plugin-light/commits/aa195bd))
* docs: update docs ([1a1238a](https://github.com/novlan1/plugin-light/commits/1a1238a))



## <small>0.0.2 (2024-12-24)</small>

* feat(bundle): add analyze-bundle-file-size ([8f5a04f](https://github.com/novlan1/plugin-light/commits/8f5a04f))



23 changes: 23 additions & 0 deletions docs/changelog/vite-plugin-dispatch-vue.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# vite-plugin-dispatch-vue

## <small>0.0.15 (2024-12-27)</small>

* feat(dispatch-vue): 支持windows ([a8d2a38](https://github.com/novlan1/plugin-light/commits/a8d2a38))



## <small>0.0.14 (2024-12-25)</small>

* feat(dispatch-vue): support windows ([4ee911e](https://github.com/novlan1/plugin-light/commits/4ee911e))
* refactor: use t-comm generateCSVData ([dd92800](https://github.com/novlan1/plugin-light/commits/dd92800))



## <small>0.0.13 (2024-12-24)</small>

* feat(bundle): add analyze-bundle-file-size ([8f5a04f](https://github.com/novlan1/plugin-light/commits/8f5a04f))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* chore: update t-comm ([4db6427](https://github.com/novlan1/plugin-light/commits/4db6427))
* chore: update t-comm ([72ee5c2](https://github.com/novlan1/plugin-light/commits/72ee5c2))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))



## <small>0.0.12 (2024-11-25)</small>

* feat(dispatch): 优化分发 ([3a0a896](https://github.com/novlan1/plugin-light/commits/3a0a896))
Expand Down
10 changes: 10 additions & 0 deletions docs/changelog/vite-plugin-gen-version.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# vite-plugin-gen-version

## <small>0.0.9 (2024-12-16)</small>

* chore: type Plugin type for vite-plugin ([ca2580c](https://github.com/novlan1/plugin-light/commits/ca2580c))
* chore: update docs ([43dbc9d](https://github.com/novlan1/plugin-light/commits/43dbc9d))
* docs: update docs ([cc81245](https://github.com/novlan1/plugin-light/commits/cc81245))
* feat(vite-plugin-insert-global-compo): 优化插件 ([3e52249](https://github.com/novlan1/plugin-light/commits/3e52249))
* feat(vite-plugin): add insert-global-comp ([06f39d9](https://github.com/novlan1/plugin-light/commits/06f39d9))



## <small>0.0.8 (2024-11-25)</small>

* feat(gen-version): 生成sourcemap ([6f5f14c](https://github.com/novlan1/plugin-light/commits/6f5f14c))
Expand Down
8 changes: 8 additions & 0 deletions docs/changelog/vite-plugin-legacy-polyfill.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# vite-plugin-legacy-polyfill

## <small>0.0.2 (2025-01-07)</small>

* feat(legacy-polyfill): add vite-plugin-legacy-polyfill ([2c851f7](https://github.com/novlan1/plugin-light/commits/2c851f7))



Loading

0 comments on commit 6c63c55

Please sign in to comment.