PatrickJS / NG6-starter

:ng: An AngularJS Starter repo for AngularJS + ES6 + Webpack
https://angularclass.github.io/NG6-starter
Apache License 2.0
1.91k stars 1.35k forks source link

Gulp .spec.js still being included in index.html #110

Closed MarkPieszak closed 8 years ago

MarkPieszak commented 8 years ago
let paths = {
    js: resolveToComponents('**/*!(.spec.js).js')

^^ This still includes the .spec.js files, it doesn't ignore them. They are still being added into the index.html file.

Tried altering it in many ways, with no luck!

fesor commented 8 years ago

They are still being added into the index.html file.

mmm... why it adds something in index.html in the first place?

MarkPieszak commented 8 years ago

Well basically it's supposed to get all .js files except for .spec.js, but it's strange it looks like that syntax should be working (even found a stackoverflow about it), but it just doesn't. Does it work for you?