@practo/manifest-revision-formatter-webpack

1.0.3 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i @practo/manifest-revision-formatter-webpack

Weekly Downloads

8

Version

1.0.3

License

MIT

Last publish

Collaborators

  • devenvyas