CC 4.0 License

The content of this section is derived from the content of the following links and is subject to the CC BY 4.0 license.

The following contents can be assumed to be the result of modifications and deletions based on the original contents if not specifically stated.

Compiler internal specific properties

The loader interface provides all module relate information. However in rare cases you might need access to the compiler api itself.

WARNING

Please note that using these Rspack specific properties will have a negative impact on your loaders compatibility.

Therefore you should only use them as a last resort. Using them will reduce the portability of your loader.

this._compilation

Rspack/Webpack specific

Access to the current Compilation object of Rspack.

this._compiler

Rspack/Webpack specific

Access to the current Compiler object of Rspack.