一个插件,可以重复使用 Babel 注入的帮助程序代码以节省代码大小。
有时您可能想要使用新的内置函数,例如Map、Set等Promise。使用这些函数的唯一方法通常是包含一个全局污染的polyfill。
a library that contains Babel modular runtime helpers
(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.
[!] RollupError: Could not resolve "./clip/index" from "src/index.ts" src/in
https://juejin.cn/post/6844904079437594631
https://juejin.cn/post/6994579986539610119
https://juejin.cn/post/7234763686475513915
https://juejin.cn/post/7122265283451944974
https://juejin.cn/post/7215963267503161403
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
https://juejin.cn/post/7220049949026811960
https://juejin.cn/post/7220591668042563644
- 搞多环境打包
- 实现 pnpm mo 分包,分项目
- 加入不同命名空间,让方法导出更加规范
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)