css-modules / css-modulesify

A browserify plugin to load CSS Modules
MIT License
403 stars 47 forks source link

Extensions option is not recognized #86

Closed MrCheater closed 6 years ago

MrCheater commented 8 years ago

setting extensions to ['.scss'] gives error:

Unexpected token

MrCheater commented 8 years ago

https://github.com/css-modules/css-modules-require-hook#extensions-array

joshwnj commented 8 years ago

@MrCheater we haven't implemented an extensions option yet, did you mean to post this issue on the https://github.com/css-modules/css-modules-require-hook repo instead?

MrCheater commented 8 years ago

I do not want use .CSS . I want use .SCSS. For *.CSS WebStorm syntax highlighting wrong. CSS-hook can use options.extensions. CSS-modulesify can not use options.extensions. We need the support for Filename.ANY_EXTENSION