Skip to content

Latest commit

 

History

History
101 lines (55 loc) · 3.69 KB

README1.md

File metadata and controls

101 lines (55 loc) · 3.69 KB

@babel/core

babel及其使用

@babel/plugin-transform-runtime

一个插件,可以重复使用 Babel 注入的帮助程序代码以节省代码大小。

core-js

有时您可能想要使用新的内置函数,例如Map、Set等Promise。使用这些函数的唯一方法通常是包含一个全局污染的polyfill。

@babel/runtime

a library that contains Babel modular runtime helpers

rollup 工具包

使用rollup构建工具包

(node:32436) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use node --trace-warnings ... to show where the warning was created) [!] RollupError: Node tried to load your configuration file as CommonJS even though it is likely an ES module. To resolve this, change the extension of your configuration to ".mjs", set "type": "module" in your package.json file or pass the "--bundleConfigAsCjs" flag.

koidpu@snapmail.cc

rollup 工具包发包

rollup 工具包发包

[!] RollupError: Could not resolve "./clip/index" from "src/index.ts" src/in

使用 rollup 打造自己的 npm 包 (全流程)

使用 rollup 打造自己的 npm 包 (全流程)

VuePress 搭建组件库文档

VuePress 搭建组件库文档

https://juejin.cn/post/6844904079437594631

https://juejin.cn/post/6994579986539610119

常用的正则

https://usehooks.com/

https://juejin.cn/post/7234763686475513915

https://juejin.cn/post/7122265283451944974

https://juejin.cn/post/7215963267503161403

Vue源码的工具库|shared

https://inhiblabcore.github.io/docs/hooks/usePreview/

https://juejin.cn/post/7245584147456426045#heading-7

【TypeScript入门】TypeScript入门篇——命名空间

Vue3 TypeScript 实现一个 useRequest

https://effect.website/docs/quickstart

https://juejin.cn/post/7249624871721418807

手写一个前端存储工具库

前端构建工具vite进阶系列(零) -- 全局概况

https://juejin.cn/post/7220049949026811960

https://juejin.cn/post/7220591668042563644

计划

  1. 搞多环境打包
  2. 实现 pnpm mo 分包,分项目
  3. 加入不同命名空间,让方法导出更加规范

https://dev.to/yakult/a-concise-hardhat-tutorial-part-1-7eo

Error [ERR_REQUIRE_ESM]: require() of ES Module E:\toolkit-use\node_modules\string-width\index.js from E:\toolkit-use\node_modules\cliui\build\index.cjs not supported. Instead change the require of index.js in E:\toolkit-use\node_modules\cliui\build\index.cjs to a dynamic import() which is available in all CommonJS modules. at Object. (E:\toolkit-use\node_modules\cliui\build\index.cjs:291:21) at Object. (E:\toolkit-use\node_modules\yargs\build\index.cjs:2861:12) at Object. (E:\toolkit-use\node_modules\yargs\index.cjs:5:30) at _yargs (E:\toolkit-use\node_modules\jest-cli\build\cli\index.js:40:39) at buildArgv (E:\toolkit-use\node_modules\jest-cli\build\cli\index.js:177:20) at Object.run (E:\toolkit-use\node_modules\jest-cli\build\cli\index.js:147:18) at Object. (E:\toolkit-use\node_modules\jest-cli\bin\jest.js:16:17) at Object. (E:\toolkit-use\node_modules\jest\bin\jest.js:12:3)

https://juejin.cn/post/7220164534316433467