Comments on: Webpack Tutorial for Beginners: A Complete Step-by-Step Guide https://wpshout.com/webpack-tutorial-for-beginners/ A hub for advanced WordPress users, developers & savvy business owners. Thu, 04 Jul 2024 22:11:03 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: wildan https://wpshout.com/webpack-tutorial-for-beginners/#comment-22661 Thu, 04 Jul 2024 22:11:03 +0000 https://wpshout.com/?p=81263#comment-22661 Just like the comment before me, this tutorial is almost perfect. The thing is, as of now (July 2024) webpack dev server will install version 4 by default which make this part of webpack configuration invalid:

devServer: {
contentBase: ‘./dist’,
open: true
}

reference: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md

]]>
By: Ivica https://wpshout.com/webpack-tutorial-for-beginners/#comment-17804 Wed, 14 Feb 2024 09:51:14 +0000 https://wpshout.com/?p=81263#comment-17804 In reply to Ben.

Thx for this update, appreciated!

]]>
By: Ben https://wpshout.com/webpack-tutorial-for-beginners/#comment-17792 Thu, 08 Feb 2024 22:52:53 +0000 https://wpshout.com/?p=81263#comment-17792 Hello Louis, thank you very much for this very clear tutorial !
It’s 99% perfect. The 1 missing % is the “contentBase” which is now deprecated and will generate an error.
It has to be replaced with “static”.
I’ll check more tutorials now for including SCSS.
Thanks again !

]]>