
extract: Prepares HTML and CSS modules to be extracted into a separate file (lean alternative to the ExtractTextWebpackPlugin). url: The url loader works like the file loader, but can return a Data Url if the file is smaller than a limit. file: Emits the file into the output folder and returns the (relative) url. skeleton: Execute your custom procedure. icon-maker: Load SVG and bundle it to font and css, returns the class string to use that icon. regexp-replace: Replace RegExp matches with a string. combine: Combine results from multiple loaders into one object. includes: Load any text file and support nested includes. web3: Deploys Ethereum VM bytecode and returns ready-to-use JS instances of deployed smart contracts. sol) and returns JavaScript objects with Application Binary Interface (ABI) and bytecode ready for deployment to Ethereum. console: Prints the resolved require of webpack to the console. bundler-configuration Bundler configuration loader, a tool to include bundler configuration in the resulting build. block-loader Generic loader for rewriting only parts of files, based on content start/end delimiters. It’s very useful when applying icon font or applying CSS animation to SVG. Require JS, Import CSS and imports stuff in it. required: Require a whole directory of trees in bulk. node files that are produced using node-gyp. ng-annotate: A loader to annotate dependency injections in Angular.js applications. base64-inline: Loader supports the most popular file extensions and can be injected directly into a file as base64 string. base64: Loads file content as base64 string. svg-as-symbol: Wraps content of root element of source SVG file inside symbol element and returns resulting markup. svg-url: Loads SVG file as utf-8 encoded data:URI string. svg-react: Load SVG files as JSX-ified React.createClass declarations. render-placement: Adds React.render to your component for you (not very practical in most cases). Support #include directive and template variables. glsl-template: Loads glsl shader files. glsl: Loads glsl files and support glsl-chunks. cowsay: Emits a module with a cowsay header. substitute: Emits a module whose content is substituted (default: null, custom as parameter). checksum: Computes the checksum of a file.
source-map: Extract sourceMappingURL comments from modules and offer it to webpack. js/.ts files that allows conditional compilation via // #if and // #endif, while preserving sourcemaps.
It support the if directive,similar to C #ifdef. if-loader: This is a preprocesser for the webpack module bundler.callback: Parses your JS, calls specified functions (which you implement in webpack context) and replaces them with the results.apply: Executes an exported JavaScript function, optionally with arguments, and exports its return value.script: Executes a JavaScript file once in global context (like in script tag), requires are not parsed.expose: Expose exports from a module to the global context.
#Mjml relative path url code
to-string: Executes code as a module, casts output to a string and exports it.val: Executes code as module and consider exports as JavaScript code.raw: Loads raw content of a file (as utf-8).hson: Loads HanSON file (JSON for Humans) as JSON object.