| | |
| | | |
| | | class CommonJsPlugin { |
| | | /** |
| | | * Apply the plugin |
| | | * Applies the plugin by registering its hooks on the compiler. |
| | | * @param {Compiler} compiler the compiler instance |
| | | * @returns {void} |
| | | */ |
| | |
| | | }); |
| | | |
| | | /** |
| | | * Handles the hook callback for this code path. |
| | | * @param {Parser} parser parser parser |
| | | * @param {JavascriptParserOptions} parserOptions parserOptions |
| | | * @returns {void} |
| | |
| | | } |
| | | |
| | | /** |
| | | * Generates runtime code for this runtime module. |
| | | * @returns {string | null} runtime code |
| | | */ |
| | | generate() { |
| | |
| | | } |
| | | |
| | | /** |
| | | * Generates runtime code for this runtime module. |
| | | * @returns {string | null} runtime code |
| | | */ |
| | | generate() { |