Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingzez/version-log-webpack-plugin
Insert version log info to bundle code.
https://github.com/kingzez/version-log-webpack-plugin
Last synced: about 1 month ago
JSON representation
Insert version log info to bundle code.
- Host: GitHub
- URL: https://github.com/kingzez/version-log-webpack-plugin
- Owner: kingzez
- Created: 2020-09-14T07:45:10.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T09:25:40.000Z (about 4 years ago)
- Last Synced: 2024-10-05T11:09:30.203Z (about 1 month ago)
- Language: TypeScript
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# version-log-webpack-plugin
## Why use this
To confirm whether the latest version has been updated.## Install
```bash
yarn add version-log-webpack-plugin --dev
```## Webpack config
```js
const VersionLogPlugin = require('version-log-webpack-plugin')
// or
// const VersionLogPlugin = require('version-log-webpack-plugin').defaultmodule.exports = {
// ...
plugins: [
new VersionLogWebpackPlugin({
version: `build-${Date.now()}` // anything what you want version info
})
]
}
```
after webpack build, then look your browser console.## LICENSE
MIT