1.0.3 • Published 7 years ago

@practo/manifest-revision-formatter-webpack v1.0.3

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

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
})
...
...