@practo/manifest-revision-formatter-webpack
v1.0.3
Published
Overridden formatter fn. for manifest rev plugin available for webpack
Downloads
25
Maintainers
Readme
Manifest revision formatter for this plugin
Override the default formatter available in the plugin to output asset keys with their paths
intact
Usage
const ManifestRevisionPlugin = require('manifest-revision-webpack-plugin');
const manifestFormatter = require('@practo/manifest-revision-formatter-webpack');
...
...
...
new ManifestRevisionPlugin(resolve(__dirname, 'build', 'manifest.json'), {
rootAssetPath: './path-to-assets',
ignorePaths: ['/ignore-assets-in-this-path'],
format: manifestFormatter
})
...
...