* Applies the plugin by registering its hooks on the compiler. * @param {Compiler} compiler the compiler instance one is tapping into * @returns {void}
(compiler)
| 44 | * @returns {void} |
| 45 | */ |
| 46 | apply(compiler) { |
| 47 | compiler.hooks.entryOption.tap(PLUGIN_NAME, (context, entry) => { |
| 48 | EntryOptionPlugin.applyEntryOption(compiler, context, entry); |
| 49 | return true; |
| 50 | }); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * Apply entry option. |
nothing calls this directly
no test coverage detected