WebPack - Module

About

Javascript - Module in Webpack

Dependency

Built-in

Webpack modules support the following module dependency definition statement:

  • require() statement of CommonJS
  • define and require statement of an AMD
  • @import statement inside of a css/sass/less file.
  • An image url in a stylesheet (url(…)) or html (<img src=…>) file.

Loader

Webpack supports modules written in a variety of languages and preprocessors, via loaders.

Documentation / Reference


Powered by ComboStrap