eriklharper / postcss-nested-import

@import stylesheets inside nested CSS
MIT License
17 stars 7 forks source link

Tests + source clean-up #1

Closed leebenson closed 7 years ago

leebenson commented 7 years ago
leebenson commented 7 years ago
screen shot 2017-04-21 at 20 00 01
leebenson commented 7 years ago

Note: I removed the latter two tests, where you're attempting to import vendor/vendor.css, which doesn't exist. I guess this was a stub for something you were planning to add?

eriklharper commented 7 years ago

Thanks for the help! Yes, you are right about those second two tests. I plan on adding support for root-relative paths that by default look in something like node_modules and maybe take a config option with an array of root paths to search from as well, like other import plugins do.