build-version-util
v0.1.0
Published
```bash npm i build-version-util ```
Downloads
2
Readme
npm i build-version-util
example
import { updateVersion } from 'build-version-util'
export default defineConfig(({ mode }) => {
if (mode === 'production') {
updateVersion()
}
return {
//...
}
}
API
updateVersion(increase = true, options = {}, callback = null)
increase
Type: boolean
options
Type: object
Default: { indent: ' ' }
callback
Type: function