Closed phated closed 7 years ago
why the =>
syntax? whats the difference to =
?
There's no difference. I just figured this would keep the syntax consistent with loaders like imports-loader
Interested in knowing if this will be merged :)
This would be nice to have.
For example, envify has purge
functionality only available via an option.
What’s the status of this PR? Can it be merged? What can we do to help to get it merged?
@phated Sry it's been a while, could you please close and reopen the PR to trigger th CLA Bot again, sign the CLA and rebase against current master? 😛
I no longer use this. Maybe someone else can pick it up
I've been working with
brfs
and found that it only statically analyzes a few types of dynamic paths (mostly related topath.join
and__dirname
). However, you can pass an options object as the 2nd parameter and give it avars
key that maps your variables to paths. This PR adds the ability to define the options object as part of the loader query. I've tried my best to match your style based onimports-loader
.