0.1.0 • Published 12 months ago

build-version-util v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months 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

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago