Skip to content

DeronEndless/umi-plugin-rehash

Repository files navigation

umi-plugin-rehash

NPM version NPM downloads

replace hash

Install

# or yarn
$ npm install
$ npm run build --watch
$ npm run start

Usage

Configure in .umirc.js,

export default {
  plugins: [
    ['umi-plugin-rehash', {
      hash: RELEASE_VERSION // 修改的hash
    }],
  ],
}

Options

参数 说明 类型 默认值 可选值
hash 自定义的hash string
mode hash模式:umi.xxxx.js query模式:umi.js?xxxxx string 'hash' 'hash' 或 'query'

LICENSE

MIT

About

custom umi hash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published