Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override makes ignore filter command fail #158

Open
octavioamu opened this issue Oct 13, 2016 · 0 comments
Open

override makes ignore filter command fail #158

octavioamu opened this issue Oct 13, 2016 · 0 comments

Comments

@octavioamu
Copy link

octavioamu commented Oct 13, 2016

I had a override in bower.json like this:

"bootstrap-sass": {
      "main": [
        "assets/stylesheets/_bootstrap.scss"
      ]
    }

And then in gulp configuration I am using the filter to ignore that file like this

.pipe(inject(gulp.src(bowerFiles({filter:['**/*.{scss,sass}', '!/bootstrap-sass/assets/stylesheets/']}), {read: false}), {

but looks like the override is "stronger" than the gulp configuration and the file is not beeing ignore and then injected anyway.

The only solution I found is to comment the line inside main in bower.json, but is a very bad solution.

here is more info if needed jhipster/generator-jhipster#4331

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant