Documentation
Contribute
Blog
English
中文
한국어
Search
API
concepts
configuration
guides
loaders
migrate
plugins
Datagrid and Charting for Enterprise Applications
webpack 5
webpack 4
Print Section
Loaders
Files
JSON
Transpiling
Templating
Styling
Frameworks
Awesome
babel-loader
Install
Usage
Options
Troubleshooting
Enable debug mode logging
babel-loader is slow!
Some files in my node_modules are not transpiled for IE 11
Babel is injecting helpers into each file and bloating my code!
The Node.js API for babel has been moved to babel-core.
Exclude libraries that should not be transpiled
Top level function (IIFE) is still arrow (on Webpack 5)
Customize config based on webpack target
Customized Loader
Example
customOptions(options: Object): { custom: Object, loader: Object }
config(cfg: PartialConfig, options: { source, customOptions }): Object
result(result: Result): Result
License
coffee-loader
Getting Started
Options
Examples
CoffeeScript and Babel
Literate CoffeeScript
Contributing
License
exports-loader
Getting Started
Inline
Using Configuration
Options
type
exports
Contributing
License
expose-loader
Getting Started
Inline
Using Configuration
Options
exposes
globalObject
Examples
Expose a local module
Contributing
License
html-loader
Getting Started
Options
sources
preprocessor
postprocessor
minimize
esModule
Examples
Disable url resolving using the <!-- webpackIgnore: true --> comment
roots
CDN
Process script and link tags
Templating
PostHTML
Export into HTML files
Contributing
License
imports-loader
Getting Started
Inline
Using Configuration
Options
type
imports
wrapper
additionalCode
Contributing
License
node-loader
Getting Started
Inline
Configuration
Options
flags
name
Contributing
License
remark-loader
Usage
Options
remarkOptions
removeFrontMatter
Inspiration
Examples
Markdown to HTML
Markdown to Markdown
Contributing
License
source-map-loader
Getting Started
Options
filterSourceMappingUrl
Examples
Ignoring Warnings
Contributing
License
thread-loader
Getting Started
Examples
Contributing
License
val-loader