Closed mjpizz closed 10 years ago
I think this is best implemented as a more general option, something down the lines of { prefilter: require('css-whitespace') }
(provide an option that takes a function), so that anyone can add arbitrary processing to the imported contents.
Works for me, I'll update the PR.
That look more like what you were thinking? I also added docs to the README, missed that before.
yep, exactly! :sparkles:
New release coming soon!
Released in 0.5.0! :shipit:
I needed support for
@import
ing whitespace-sensitive files, so here's a simple implementation that adds{whitespace: true}
as an option. This is similar to how rework-importer works, but I personally prefer rework-npm :)