mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
5d3381334c
* chore: remove useless tsx support * add * revert * add * fix * fix * add test case * fix
11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
const fs = require('fs-extra');
|
|
const path = require('path');
|
|
|
|
const { version } = require('../package.json');
|
|
|
|
fs.writeFileSync(
|
|
path.join(__dirname, '..', 'components', 'version', 'version.ts'),
|
|
`export default '${version}';`,
|
|
'utf8',
|
|
);
|