mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
7 lines
182 B
JavaScript
7 lines
182 B
JavaScript
const version = require('../package.json').version
|
|
|
|
require('fs').writeFileSync(
|
|
require('path').resolve(__dirname, '..', 'src', 'version.ts'),
|
|
`export default '${version}'\n`
|
|
)
|