type
status
date
slug
summary
tags
category
password
Date
Free
Free
Link
xhsContent
Price
xhsTitle
🌈 I feel
icon

👟 Articles


📖 Title: Vite文档整理
👍 Some Contents
  • Vite 使用 esbuild  将 TypeScript 转译到 JavaScript,约是 tsc  速度的 20~30 倍,同时 HMR 更新反映到浏览器的时间小于 50ms。
💡

为什么prd打包选择rollup,不用webpack,或esbuild?

  1. esbuild主要是打包js很快,但是生产包的是应用程序,除了.js文件外,还会有很多其他的资源 如.css 图片 字体 等等。暂时rollup和webpack的生态更成熟
  • esbuild主要用在dev的预构建
  1. 为什么不用webpack。可以参考"rollup打包产物解析及原理(对比webpack)"
简单的总结rollup好处的话是:
  1. 对比esbuild:打包模块类型复杂的应用程序方面,生态更成熟
  1. 对比webpack
  • 打出来的包体积小
  • 打出来的包结构清晰(不用像webpack一样,用 iife + function包裹模块),几乎无额外代码注入。
  • 符合js未来模块标准(esm)(webpack暂时不支持打出esm的模块(实验中))
 
📖 Title: Linux下netstat命令详解
👍 Some Contents
  • Netstat是控制台命令,是一个监控TCP/IP网络的非常有用的工具,它可以显示路由表、实际的网络连接以及每一个网络接口设备的状态信息。Netstat用于显示与IP、TCP、UDP和ICMP协议相关的统计数据,一般用于检验本机各端口的网络连接情况。
💡
notion image
notion image
 
📖 Title: nginx的一些常用命令
👍 Some Contents
nginx -s reload是重新加载配置;
nginx -s quit 是平滑退出;
nginx -s stop 强制退出;
💡
 

❣️ Quote


quote
From: xxxx

📱 Products


🍞 name:AI照片修复
📖 desc:
notion image
 
🍞 name: chatgpt共享账号
🔗 link:
notion image
📖 desc:
notion image
 
🍞 name: 沉浸式中英对照翻译
🔗 link: chrome-extension://bpoadfkcbjbfhfodiogcnhhhpibjhbnh/options.html
📖 desc: 真的很强,是我想找的东西了;
notion image
 
 
 

❣️ Summary