# vsce build: A react-af-sinppets-version.vsix file will be generated locally
# `the vscode: prepublish` command is also executed
vsce package
# vsce publish
vsce publish
only vsce publish
# vsce publish
vsce publish
output:
PS F:\workspace\xxx> vsce publish
Executing prepublish script 'npm run vscode:prepublish'...
> xxx@1.0.3 vscode:prepublish F:\workspace\xxx
> npm run compile
> xxx@1.0.3 compile F:\workspace\xxx
> tsc -p ./
Publishing xxx.xxx@1.0.3...
DONE Published xxx.xxx@1.0.3
Your extension will live at https://marketplace.visualstudio.com/items?itemName=xxx.xxx (might take a few seconds for it to show up).