| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | */ |
| 7 | |
| 8 | import packageJson from '../package.json'; |
| 9 | |
| 10 | /** The version of the vscode extension, defined by the package.json (at build time), |
| 11 | * or '(dev)' when running from source in a dev build (from `yarn watch-extension`). */ |
| 12 | export const extensionVersion = |
| 13 | process.env.NODE_ENV === 'development' ? '(dev)' : packageJson.version; |
| 14 | |