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

Add glob support #10

Closed
rtivital opened this issue Jul 23, 2016 · 3 comments
Closed

Add glob support #10

rtivital opened this issue Jul 23, 2016 · 3 comments

Comments

@rtivital
Copy link
Contributor

Currently I need to install Glob package separately to match all files in resources folder:

// webpack config
const glob = require('glob');
module.exports = {
  // ...
  sassResources: glob.sync('./src/styles/resources/**/*.scss'),
};

It would be really great if sass-resources-loader could recognize these patterns out of the box, e.g.

module.exports = {
  // ...
  sassResources: './src/styles/resources/**/*.scss',
};
@justin808
Copy link
Member

@rtivital Any chance that you want to hack on the loader and put in a PR?

Sounds like a great idea.

CC: @alexfedoseev

@rtivital
Copy link
Contributor Author

@justin808 Well, I guess I've done it in #11

I've done some testing with provided example, everything seems just fine.

@justin808
Copy link
Member

See #11.

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

No branches or pull requests

2 participants