Use cosmiconfig to get the bootstraprc file
muuvmuuv opened this issue · 4 comments
muuvmuuv commented
It happened today that I had to realize that bootstrap-loader cannot find my .bootstraprc.json
. There is a package called Cosmiconfig that would better handle those configs.
justin808 commented
@alexfedoseev Agree it's a good idea?
x-yuri commented
@justin808 Unfortunately, not in the near future. I don't have a problem with naming the file .bootstraprc
.
What's really annoying is that you can't just import 'bootstrap-loader'
on production. I hope I'll be able to work around that, but being able to just import 'bootstrap-loader'
would be great. Switching to require
might introduce issues with CSS order (imports
are hoisted), tree shaking.