Skip to content

Better usage instructions for gulp #34

Description

@lucaslm

Greetings,

I decided to try your package in my webpack project which uses gulp. The project was created with fountainjs, so I did not created any gulp related files or tasks. Furthermore, since I'm quite new to gulp, I can't figure how to configure your dependency to work with my project.
In fact, I think the instructions, that simply amount to the following sentence, are not that much explanatory.

If you are using Gulp or Grunt to compile (or similiar), require node-sass-import-once as normal and pass it as the importer option in to your task.

For instance, should I be adding such confs in my gulpfile.js? Also, I think a code snippet with an example would be very helpfull. Sure, I can always read a ton of tutorials about gulp until I understand how to configure tasks and importer options, but that would take days if not weeks, as oposing to having a code snippet as a starting point.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions