react-loadable-ssr-addon
  • Introduction
  • Getting Started
    • Installation
    • Usage
    • Example
  • API Documentation
    • Webpack Plugin
    • Server Side
    • Assets Manifest
Powered by GitBook
On this page
  • Options
  • filename
  • integrity
  • integrityAlgorithms
  • integrityPropertyName
  • Configuration example

Was this helpful?

  1. API Documentation

Webpack Plugin

PreviousUsageNextServer Side

Last updated 5 years ago

Was this helpful?

Options

filename

Type: string Default: react-loadable.json

Assets manifest file name. May contain relative or absolute path.

integrity

Type: boolean Default: false

Enable or disable generation of hash.

integrityAlgorithms

Type: array Default: [ 'sha256', 'sha384', 'sha512' ]

Algorithms to generate hash.

integrityPropertyName

Type: string Default: integrity

Custom property name to be output in the assets manifest file.

Configuration example

new ReactLoadableSSRAddon({
  filename: 'assets-manifest.json',
  integrity: false,
  integrityAlgorithms: [ 'sha256', 'sha384', 'sha512' ],
  integrityPropertyName: 'integrity',
})
Subresource Integrity (SRI).