Find Jobs
Hire Freelancers

Webpack 4 - build / watch optimization & configuration

$10-30 USD

Closed
Posted about 6 years ago

$10-30 USD

Paid on delivery
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.
Project ID: 16766922

About the project

2 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $28 USD for this job
User Avatar
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.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Beaverton, United States
5.0
18
Payment method verified
Member since Sep 5, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.