Noticed that none of my SCSS, and JS, was active on my staging server after deploy (I have the build_before.yml deploy hook active), so I tried to run yarn run build:production locally in my theme’s folder. And… it does the same thing locally. yarn start and yarn run build both work like charms.
yarn run build 1 ↵ 932 13:55:45
yarn run v1.5.1
$ webpack --progress --config resources/assets/build/webpack.config.js
95% emitting
DONE Compiled successfully in 3031ms 2:07:55 PM
Asset Size Chunks Chunk Names
images/hero-background.png 1.73 MB [emitted] [big]
scripts/main.js 270 kB 0 [emitted] [big] main
scripts/customizer.js 3.25 kB 1 [emitted] customizer
styles/main.css 234 kB 0 [emitted] main
scripts/main.js.map 413 kB 0 [emitted] main
styles/main.css.map 417 kB 0 [emitted] main
scripts/customizer.js.map 3.07 kB 1 [emitted] customizer
✨ Done in 6.00s.
Noticing some files omitted in the :production process as opposed to this one. However, I’m not sure if thats relevant or if it’s supposed to output that way.