Adding none bower JS libs to Gulp/Manifest.json

Greetings, been playing a lot with 8.0.0 and the new changes you guys make every week are amazing! In my normal projects I can easily pull js/css libs with bower - and then manually edit a link to them inside manifest.json. However this is assuming all javascript library type files are served via bower.

Current syntax I use with bower.

"someBowerLib.js": {
  "bower": ["someLib"]
}

However say that I manually had to edit a custom js file into /assets/js

Seems that currently it detects any js files inside /assets/js and gulps them to main.js. Obviously this is problematic if I want to import a js lib. And the init() method inside the main.js file attempts to call a function that has not been set yet.

"main.js": {
  "files": [
    "scripts/**/*",
    "scripts/main.js"
  ],
  "main": true
},

Is this wrong practice if I make Gulp overrides to avoid the /**/* catchall? …

"main.js": {
  "files": [
	"scripts/main.js"
  ],
  "main": true
},
"customLib.js": {
  "files": [
	"scripts/customLib.js"
  ]
}

Absolutely not! /**/* will only work for the very simplest of setups. You are correct to remove it.

@ben removing the /**/* catchall by default might make sense. Order matters with js so I would rather people get used to doing ['scripts/lib.js', 'scripts/dependsonlib.js','scripts/dependsoneverything.js'] than find things failing randomly after abusing /**/*.