version-log-loader
v1.0.0
Published
Insert version log info to bundle code.
Downloads
2
Maintainers
Readme
version-log-loader
Why use this
To confirm whether the latest version has been updated.
Install
yarn add version-log-loader --dev
Webpack config
module.exports = {
// ...
module: {
rules: [
{
test: /\.js$/,
loader: 'version-log-loader',
options: {
version: Date.now()
}
},
]
}
}
after webpack build, then look your browser console.
LICENSE
MIT