Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/set-webpack-public-path-plugin

set-webpack-public-path-plugin package​

Classes​

Class

Description

SetPublicPathCurrentScriptPlugin

This simple plugin wraps the webpack bundle in an IIFE that sets a the document.currentScript value to a variable that is then used to populate the __webpack_public_path__ variable.

SetPublicPathPlugin

This simple plugin sets the __webpack_public_path__ variable to a value specified in the arguments.

Abstract Classes​

Abstract Class

Description

SetPublicPathPluginBase

Interfaces​

Interface

Description

IScriptNameAssetNameOptions

IScriptNameRegexOptions

ISetWebpackPublicPathOptions

The base options for setting the webpack public path at runtime.

ISetWebpackPublicPathPluginOptions

Options for the set-webpack-public-path plugin.

Type Aliases​

Type Alias

Description

IScriptNameOptions