umi-plugin-rehash
v0.1.2
Published
replace hash
Downloads
5
Readme
umi-plugin-rehash
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