$ npm install mi-cache-reload
import cacheReload from "mi-cache-reload"
then call below function in your main.js OR index.js
cacheReload()
Add script in package.json
"generate-meta-version": "node ./node_modules/mi-cache-reload/meta.js",
"prebuild": "npm run generate-meta-version",
"prebuild:staging": "npm run generate-meta-version",
"prebuild:production": "npm run generate-meta-version"
MIT
Copyright © 2019 Mindinvetory