GITHUB REPOS:
https://github.com/machieajones In this video I talk you through setting up a super simple Parcel JS workflow for Wordpress.
This video is done at a fast pace, so feel free to slow it down if necessary. I recommend reading Parcel's docs if you want to understand more on what it does (link below)
You can also run "parcel build" instead of "parcel watch" to generate the production files (just double check that the functions.php's calling the correct files before deployment)
If you have issues with images/fonts in the stylesheet, you can change your watch task to this:
"watch": "parcel watch js/scripts.js scss/app.scss --out-dir prod/ --public-url /wp-content/themes/THEMENAME/prod/"
Node and NPM
https://nodejs.org/en/
Parcel JS
https://parceljs.org/getting_started....
🔔 Please hit subscribe if you enjoyed this video - it really supports the channel:
https://bit.ly/2GbNa0A
LET'S CONNECT
📸 Instagram - / adamthedev
💼 LinkedIn - / adamthedev