css-modules / postcss-icss-values

Pass arbitrary constants between your module files
MIT License
203 stars 18 forks source link

Wrap in postcss plugin #81

Closed GeorgeTaveras1231 closed 7 years ago

GeorgeTaveras1231 commented 7 years ago

Context

I'm creating a webpack loader that leverages this plugin and I need a hook for when an imported constant is found. The createImportedName option seems to provide that hook but this function doesn't allow overriding options 😕.

Change

Wrap function in postcss plugin that accepts an options object.