0.1.0 • Published 2 years ago

build-version-util v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago
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

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago