Skip to content

override makes ignore filter command fail #158

@octavioamu

Description

@octavioamu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions