Closed nwmcsween closed 7 years ago
@simonsmith Can glob resolver look in node_modules
?
Currently the glob functionality only works when resolving relative pathnames. I'm sure we could just combine the two as a new feature.
There's glob-parent package which can help with this.
A very simple testcase is
@import asm.css/lib/align-self/*.css;
where asm.css is a node_module, it seems easy import isn't resolving it for some reason?Relevant files
postcss.config.js (using postcss-cli)
building:
./node_modules/.bin/postcss $file -o $ofile
where $file is@import "asm.css/lib/align-self/*.css";
of which asm.css/lib/align-self/* exists and has files in node_modules