webpack logo
DocumentationContributeBlog
  • English
  • 中文
  • 한국어
APIconceptsconfigurationguidesloadersmigrateplugins
ag grid
ag charts
Datagrid and Charting for Enterprise Applications
webpack
Proud to partner with webpack
Print SectionPrinter Icon
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
  • Getting Started
  • Options
    • executableFile
  • Return Object Properties
    • code
    • sourceMap
    • ast
    • dependencies
    • contextDependencies
    • buildDependencies
    • cacheable
  • Examples
    • Simple
    • Modernizr
    • Figlet
  • Contributing
  • License

CSS

css-loader
  • Getting Started
  • Options
    • url
    • import
    • modules
    • importLoaders
    • sourceMap
    • esModule
    • exportType
  • Examples
    • Recommend
    • Disable url resolving using the /* webpackIgnore: true */ comment
    • Assets
    • Extract
    • Pure CSS, CSS modules and PostCSS
    • Resolve unresolved URLs using an alias
    • Named export with custom export names
    • Separating Interoperable CSS-only and CSS Module features
  • Contributing
  • License
less-loader
  • Getting Started
  • Options
    • lessOptions
    • additionalData
    • sourceMap
    • webpackImporter
    • implementation
    • lessLogAsWarnOrErr
  • Examples
    • Normal usage
    • Source maps
    • In production
    • Imports
    • Plugins
    • Extracting style sheets
    • CSS modules gotcha
  • Contributing
  • License
postcss-loader
  • Getting Started
  • Options
    • execute
    • postcssOptions
    • sourceMap
    • implementation
  • Examples
    • SugarSS
    • Autoprefixer
    • PostCSS Preset Env