bazelbuild / rules_postcss

PostCSS rules for Bazel
Apache License 2.0
10 stars 13 forks source link

Move Node.js require responsibility to postcss_plugin #18

Closed rzhw closed 4 years ago

rzhw commented 4 years ago

Closes #17

Does not affect #19 (EDIT: Which I view this PR as an intermediate step towards.)

This solution feels pretty hacky, but came in an a-ha! moment after sitting on this question for quite a while. Maybe there's a nicer solution to get to this.