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

Allow passing functions option as function #651

Merged
merged 2 commits into from Dec 17, 2018

Commits on Dec 16, 2018

  1. feat(options): allow functions option to be a function

    Allows the `functions` option for node-sass or dart-sass to be a function, in which case it will be passed the Loader Context as argument
    lunelson committed Dec 16, 2018
    Copy the full SHA
    be625d2 View commit details
    Browse the repository at this point in the history
  2. test(options): add test for functions option as function

    Adds a test for the case where the functions option is supplied as a function. Passes the Loader Context and also checks that it is available.
    lunelson committed Dec 16, 2018
    Copy the full SHA
    fc6c195 View commit details
    Browse the repository at this point in the history