Dequeuing Assets

I’m able to dequeue assets in extras.php, but cannot add the file into the asset pipeline. Not sure, but buddypress.css is not being included in main.css. An excerpt from my manifest.json is below.

"main.css": {
  "files": [
  "vendor": [
  "main": true

Any ideas why?

I’m not in front of my computer but it looks like you’re going one directory too high, try-


Also, make sure you stop your watch task and run gulp to rebuild everything.

Ps. Note that the vendor property is considered as being relative to the themes root - so your path is actually putting you in the site root


And, for a thorough explanation see:

1 Like

Thank you, I was one directory too high. It works now.

1 Like