Rush StackShopBlogEvents
Skip to main content

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

SetPublicPathPlugin class

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

Signature:

export declare class SetPublicPathPlugin extends SetPublicPathPluginBase 

Extends: SetPublicPathPluginBase

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Constructs a new instance of the SetPublicPathPlugin class

Properties

Property

Modifiers

Type

Description

options

readonly

ISetWebpackPublicPathPluginOptions

Methods

Method

Modifiers

Description

_applyCompilation(thisWebpack, compilation)

protected