mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +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.js'),
|
|
`export default '${version}'\n`
|
|
)
|