assets-versions-webpack-plugin

0.1.0 • Public • Published

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

Package Sidebar

Install

npm i assets-versions-webpack-plugin

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • stremann