umi-plugin-rehash

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i umi-plugin-rehash

Weekly Downloads

0

Version

0.1.2

License

none

Unpacked Size

5.68 kB

Total Files

3

Last publish

Collaborators

  • deronendless