Created
January 10, 2024 02:58
-
-
Save zhanba/e69c4640d4745d48b2a6f72ae9fb6a0b to your computer and use it in GitHub Desktop.
build monaco-editor-core
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. open vscode on codespaces | |
// 2. git fetch --all | |
const url = 'https://cdn.jsdelivr.net/npm/[email protected]/package.json' | |
const json = await fetch(url).then(res => res.json()) | |
const commitId = json.vscodeCommitId | |
// git checkout commitid | |
// 3. build | |
// vscode/build/gulpfile.editor.js:81 shakeLevel: 2, | |
// yarn run gulp editor-distro | |
// cd out-monaco-editor-core/package.json update name version | |
// npm login & publish |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment