Home > @rushstack/set-webpack-public-path-plugin > SetPublicPathCurrentScriptPlugin
SetPublicPathCurrentScriptPlugin class
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.
Signature:
export declare class SetPublicPathCurrentScriptPlugin extends SetPublicPathPluginBase
Extends: SetPublicPathPluginBase
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the |
Methods
Method | Modifiers | Description |
|---|---|---|
|