Skip to content

Question: does import-glob-loader work similar to node-sass-globbing importer? #5

@jrencz

Description

@jrencz

I'm setting up a bunch of projects:

  • all of the projects that have any styles ahve sass sources and use node-sass to compile them
  • most of the project use webpack so it's natural for me to choose import-glob-loader
  • some projects don't use webpack and I already have working setup with britco/node-sass-globbing as node-sass importer

After analysing the source code of both projects it looks like they do more or less the same: they turn single import line to multiple lines expanded by node-glob

My question is:
@Aintaer were you aware of existence of node-sass-globbing at the time this project was started? If so: what is the advantage of using loader rather than importer right in node-sass?

I'm not yet proficient in WebPack so I'm not able to answer the 2nd part of the question myself

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