Skip to content
This repository was archived by the owner on Nov 4, 2021. It is now read-only.

Conversation

@Chris-V
Copy link

@Chris-V Chris-V commented Jul 18, 2016

We need to apply extra transformations to our sass build. ionic-gulp-sass-build doesn't allow us to pipe such transformations. In order to keep ionic's default values and pipe additional transformations I suggest a hook function is added to the options object.

Here, I added the following properties:

  • srcOptions: because we need to set the {base: 'abc/abc'} options for gulp.src

  • hookFunction: it enables us to set our extra transformations. ie:

    options = {
     hookFunction: function(stream) {
       return stream.pipe(mySuperTransformation());
     }
    }

Chris-V added 2 commits July 18, 2016 17:24
It's useful if one needs to pipe extra transformations to the sass stream.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant