Webpack 5 Asset Modules: How to resolve and import assets

preview_player
Показать описание
This will be a full demo on how to use all 4 types of Asset Modules Loaders which allow importing all kinds of files like images, fonts, icons, ...etc.

Code Example:

Tutorial Notes:

Video Content:

00:00 : Webpack Asset Modules Explaination
02:40 : Project example
03:53 : Assets Loader - asset/resource
06:33 : Assets Loader - asset/inline
08:23 : Assets Loader - asset/source
10:44 : Loaders Custom Configurations
13:01 : Assets Loader - asset
15:47 : Use cases for each loader

============================================

Newsletters:

Connect on social media:

Freelancing:

#webpack #assetmodule #webpackloaders
Рекомендации по теме
Комментарии
Автор

✉ Liked my content? Check out my newsletter, Just Enough Dev, for more:

abduvik
Автор

watched this video the first time when starting with webpack, didn't get a thing, went on with my life and when I actually needed these infos, I remembered this video, came back to it and it answered all my questions on asset modules: thanks for the great content sir.

you are appreciated

ayen
Автор

Did you cover using inline assets in css files? I didn’t find that covered

HenrikVendelbo
Автор

it does not work for me.. i've already verified this on your github... does it related with the output.PublicPath? just thanks for your video... it was usefull too.

estebanboada