0.1.0 • Published 8 years ago

assets-versions-webpack-plugin v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Assets Versions

Easy assets versions Webpack plugin.

build status coverage status npm version npm downloads

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