webpack-subresource-integrity

  • Version 5.2.0-rc.1
  • Published
  • 283 kB
  • No dependencies
  • MIT license

Install

npm i webpack-subresource-integrity
yarn add webpack-subresource-integrity
pnpm add webpack-subresource-integrity

Overview

Webpack plugin for enabling Subresource Integrity

Index

Classes

class SubresourceIntegrityPlugin

class SubresourceIntegrityPlugin {}
  • The webpack-subresource-integrity plugin.

    Modifiers

    • @public

constructor

constructor(options?: SubresourceIntegrityPluginOptions);
  • Create a new instance.

    Modifiers

    • @public

method apply

apply: (compiler: Compiler) => void;

    Interfaces

    interface SubresourceIntegrityPluginOptions

    interface SubresourceIntegrityPluginOptions {}
    • Modifiers

      • @public

    property enabled

    readonly enabled?: 'auto' | true | false;

      property hashFuncNames

      readonly hashFuncNames?: [string, ...string[]];

        property hashLoading

        readonly hashLoading?: 'eager' | 'lazy';

          Package Files (1)

          Dependencies (0)

          No dependencies.

          Dev Dependencies (21)

          Peer Dependencies (2)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/webpack-subresource-integrity.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/webpack-subresource-integrity)
          • HTML
            <a href="https://www.jsdocs.io/package/webpack-subresource-integrity"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>