1.0.0 • Published 8 years ago
webpack-statics-version-plugin v1.0.0
webpack-statics-version-plugin
Installation
not publish yet
npm install webpack-statics-version-plugin --save-devUsage
Add this plugin after html-webpack-plugin
const WebpackStaticsVersionPlugin = require('webpack-statics-version-plugin');plugins: [
new WebpackStaticsVersionPlugin({
suffixes: ['jpg', 'png']
})
],| Name | Type | Default | Description |
|---|---|---|---|
suffixes | {Array} | ['js', 'css'] | other suffiex you want(you do not need the . character) |
replace | {Boolean} | false | if true, default suffixes will not work |