Socket
Book a DemoInstallSign in
Socket

@practo/manifest-revision-formatter-webpack

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@practo/manifest-revision-formatter-webpack

Overridden formatter fn. for manifest rev plugin available for webpack

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
2
Created
Source

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

Keywords

manifest

FAQs

Package last updated on 19 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts