build: 添加 yarn 锁文件忽略配置并指定包管理器
在 .gitignore 中添加忽略 npm 生成的 package-lock.json,同时在 package.json 中指定使用 yarn 作为包管理器,与配置的规则保持一致。
This commit is contained in:
1 parent
307e9cf1b9
commit
14bbab626f
3 files changed
+4
-7921
No files matched your search
@@ -1,6 +1,9 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
|
||||
# 统一使用 yarn,禁止 npm 生成的锁文件(见 package.json packageManager)
|
||||
package-lock.json
|
||||
|
||||
# Build output
|
||||
dist/
|
||||
dist-ssr/
|
||||
|
||||
Reference in new issue
Block a user