Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xjq7 committed Oct 29, 2024
1 parent cbe9258 commit fd84625
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default [
text: '友链',
items: [
{ text: '天真的小窝', link: 'http://bin.zmide.com/' },
{ text: 'Lexmin0412', link: 'https://home.cellerchan.top/' },
{ text: 'Lexmin0412', link: 'https://lexmin.cn/' },
{ text: '1874', link: 'https://1874.cool/' },
{ text: 'tools.fun 工具导航', link: 'https://tools.fun/' },
{ text: '勤为径苦作舟', link: 'https://blog.zhjh.top/' },
Expand Down
5 changes: 5 additions & 0 deletions docs/Knowledge/Architect.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,8 @@
9. OCP: 设计良好的计算机软件应该易于扩展, 同时抗拒修改

10. 在一般情况下, 任何层次的软件设计如果依赖于不需要的东西, 都是有害的

11. 任何层次的软件设计如果依赖了它并不需要的东西, 就会带来意料之外的麻烦

12. 程序规模上的墨菲定律: 程序的规模会一直不断地增长下去, 直到将有限的编译和链接时间填满为止

2 changes: 2 additions & 0 deletions docs/Reveal/Classnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ classNames('a', ['b', { c: true, d: false }]) // 'a b c'

## 分析

版本: 2.5.1

循环处理 函数参数 arguments

```Js
Expand Down
26 changes: 26 additions & 0 deletions docs/Reveal/Rollup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[[toc]]

# Rollup

Rollup 是 Js 模块打包工具, 主要用于将多个 Js 文件打包成一个或多个输出文件, 适合构建库或者应用程序

主要特性:

- ES6 模块支持
- 插件系统
- 配置简单
- 多种输出格式

## 使用

## 分析

版本: v4

初始文件

```Js
const rollup = require('rollup');
debugger;
rollup.rollup({ input: 'index.js' });
```
1 change: 1 addition & 0 deletions docs/Reveal/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[classnames](./Classnames.html)
[Rollup](./Rollup.html)

0 comments on commit fd84625

Please sign in to comment.