Exclude specific files from main.js in manifest.son

Hi everyone,

i’m trying to remove certain bower files from compiling into the main.js file. I tried to exclude the specific files to no avail.

can anyone provide some assistance?

sample manifest.json

"dependencies": {
    "main.js": {
      "files": [
      "main": true,
      "exclude": {
        "files": [

Thank you.

Do you want to exclude the entire bower package? If so there’s an example here https://github.com/austinpray/asset-builder/wiki/User-Contributed-Examples#masonry

If you want to only exclude a single file you could try defining the package’s overrides and set the file to be empty.

Thanks @swalkinshaw i ended up doing the later sugestion (setting the files to empty)