Ivan's Blog
  • 闪念
  • 文章
  • 项目
  • 标签
  • 执念
正在打开页面
2023年8月5日Memo

无标题闪念 · 2023年8月5日

Node

在 .npmrc 增加下面的内容,解决无法使用 pre 和 post 前缀脚本:

enable-pre-post-scripts=true

ref: How to fix "postbuild" and "prebuild" not working with pnpm? | The David Dias

Ivan's Blog
v4.1.2
Digital greenhouse for notes, memos, and making.
Copyright © 2026 Ivan LiCode: MITContent: CC BY-NC-ND 4.0
Social
闽ICP备2023000043号