Closed weituotian closed 9 months ago
> vsce package
INFO Detected presence of yarn.lock. Using 'yarn' instead of 'npm' (to override this pass '--no-yarn' on the command line).
WARNING A 'repository' field is missing from the 'package.json' manifest file.
Use --allow-missing-repository to bypass.
Do you want to continue? [y/N] y
WARNING LICENSE, LICENSE.md, or LICENSE.txt not found
Do you want to continue? [y/N] y
This extension consists of 1093 files, out of which 459 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
@weituotian 你应该增加个 .vscodeignore 文件,用来过滤不需要打包的内容
好~( ̄▽ ̄)~*
@weituotian 你应该增加个 .vscodeignore 文件,用来过滤不需要打包的内容
能在项目中加个吗
@weituotian 可以的,我是根据 gitignore 改的。你可以直接用,然后根据实际情况调整。至于gitignore我都忘了多少年前从哪里复制的了。😁
不知道为啥