Class JavascriptModulesPlugin
Constructors
constructor
Parameters
Properties
options
options: object
Static chunkHasJs
Type declaration
Parameters
Returns boolean
Methods
apply
Parameters
Returns void
renderBootstrap
Parameters
Returns { afterStartup: string[]; allowInlineStartup: boolean; beforeStartup: string[]; header: string[]; startup: string[] }
afterStartup: string[]
allowInlineStartup: boolean
beforeStartup: string[]
header: string[]
startup: string[]
renderChunk
Parameters
renderMain
Parameters
renderModule
Parameters
renderRequire
Parameters
Returns string
updateHashWithBootstrap
Parameters
Returns void
Static getChunkFilenameTemplate
- getChunkFilenameTemplate(chunk?: any, outputOptions?: any): any
Parameters
Optional chunk: any
Optional outputOptions: any
Returns any
Static getCompilationHooks
Parameters
Apply the plugin