mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 11:08:00 +08:00
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',
|
|
);
|