Webpack only understands JavaScript and JSON files. Loaders allow webpack to process other types of files and convert them into valid modules that can be consumed by your application and added to the dependency graph.
Configuration (recommended): Specify them in your webpack.config.js file.
Inline: Specify them explicitly in each import statement.