babel/packages/babel-standalone/src/babel-package-shim.ts
Bogdan Savluk b670c11070
convert @babel/standalone to typescript (#13212)
* babel-standalone flowts rename

* babel-standalone flowts convert

* babel-standalone - update rollup plugin to support ts files

* babel-standalone code generation update

* babel-standalone

* babel-standalone eslint fixes

* babel-standalone tsconfig.json

* babel-standalone

* babel-standalone tsconfig related fix

* make generate-tsconfig

* yarn install

* babel-standalone use fs.existsSync

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-14 09:54:09 -04:00

8 lines
230 B
TypeScript

/**
* A shim that replaces Babel's require('package.json') statement.
* Babel requires the entire package.json file just to get the version number.
*/
declare const BABEL_VERSION: string;
export const version = BABEL_VERSION;