如何将 monaco-editor-core
的特定版本映射回其在vscode repo中的git commit?我想阅读构建版本的源代码。
背景:我在对摩纳哥编辑的语言支持方面遇到了一些困难,需要检查源代码。NPM软件包中的/esm/
源代码很好,但是Typescript源代码更好。但是需要首先找到正确的git提交,vscode repo迅速更改。
我在这里得到答案:https://github.com/microsoft/monaco-editor/issues/issues/1293
/min
文件夹中文件的版权标题包含提交:
/*!-----------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.15.5(3d42593a5844407ab71d47b348ea3a8de5fec848)
* Released under the MIT license
* https://github.com/Microsoft/vscode/blob/master/LICENSE.txt
*-----------------------------------------------------------*/