assets-versions-webpack-plugin
v0.1.0
Published
Assets Versions
Downloads
25
Maintainers
Readme
Assets Versions
Easy assets versions Webpack plugin.
Installation
To install the stable version:
npm install --save-dev assets-versions-webpack-plugin
This assumes you are using npm as your package manager.
Gist
The only thing you need is to specify paths to files which should not be cached.
import AssetsVersions from 'assets-versions-webpack-plugin';
new AssetsVersions({
indexPath: 'path/to/index.html',
cssPath: 'path/to/styles.css',
jsPath: 'path/to/app.js'
});
That's it!
Change Log
This project adheres to Semantic Versioning. Every release is documented on the GitHub Releases page.
License
MIT