Webpack 5 with SASS Part 2, The Production Configuration

preview_player
Показать описание
Just Webpack 5 with SASS to build amazing web projects, here the with the production configuration. Coded in WebStorm, but you can use as well VS Code.

Project on GitHub

Thank you and welcome to my YouTube channel! I am a freelancer who works with IT, and I’ll be posting educational videos that focus on developing & designing apps for different devices here on my channel.
Рекомендации по теме
Комментарии
Автор

Hello Ulis, I finish the two videos of Webpack 5 with SASS. Thank you so much for sharing your knowledge with the Youtube community. I have a question about the second video. In app.js lazysizes is imported, but it is not used in the project. I read documentation and it is a powerful package. Does the implementation workds by adding in the index.html an statement like <img data-src="image.jpg" class="lazyload" />?

cgarafulic
Автор

Hello Ulis, Thanks for the way you explained Webpack configuration also when i tried to use images with svg i hade to add --- {
test: /\.(png|svg|jpg|jpeg|gif)$/i,
type: "asset/resource",
}, --- in the module rules
and waiting for you to explain configurations for react app and also do we need a webpack config for server side (nodeJs) ?

m.moushly