Closed

Webpack 4 - build / watch optimization & configuration

I have a WordPress theme that used Webpack and I recently upgraded it to use Webpack 4.

When I run "npm run watch", my dev server starts, and my assets get rebuilt. This is correct.

My issue is when I then save one of my ".scss" files, all of the assets (js / images/ fonts /scss) all get rebuilt again together. That is not what I want.

I'm looking for when I save my ".scss" files, it then only recompiles those, not everything else. Same with my js/ images /fonts. (if I had a new image, images should run again, not the whole thing, if I save a JS file, js should run again, not the whole thing, etc)

The "CSS" also needs to be injected, instead of reloading the page. I also have this set in "browser sync" but that doesn't seem to be working anymore.

If this sounds like something you can update inside my config using Webpack 4+ please let me know.

Skills: CSS, Javascript, node.js

See more: Please note that this contest is to create the graphic design and then the WordPress theme based on that design. I know that som, who can help build a custom wordpress theme, how to build a custom wordpress theme, build a custom wordpress theme, build wordpress theme, build wordpress theme psd, wordpress theme used bimmerpost, build aggregator site wordpress theme, build watch circuit, simple wordpress theme build indexhibit, build website hardware configuration, wordpress theme used labnolorg, wordpress theme build, full browser image html, build custom wordpress theme, css full browser image, build wordpress theme software, change browser image website, build wordpress theme fireworks, php refresh browser image

About the Employer:
( 6 reviews ) Aliso Viejo,

Project ID: #16766922

4 freelancers are bidding on average $30 for this job

tuvvkstn

Hello. I am experience with these problem. I can config them for you. Hope to work with you.

$35 USD in 3 days
(1 Review)
0.7
$25 USD in 10 days
(0 Reviews)
0.0
RandeepThakur

Hello , I am PHP (wordpress) expert, I can understand your problem, I can resolve it If you can hire me, few step are used to provide you solutions for your issue. Advance Thanks

$30 USD in 1 day
(0 Reviews)
0.0
$30 USD in 1 day
(0 Reviews)
0.0