totaljs/modules

Stylus module "CONFIG(...).indexOf is not a function"

CertainLach opened this issue · 3 comments

Getting that error:
======= 2016-11-21 13:30:11: TypeError: CONFIG(...).indexOf is not a function TypeError: CONFIG(...).indexOf is not a function
there:
https://github.com/totaljs/modules/blob/master/CSS/stylus/stylus.js#L10
Replacing with
F.accept('.styl','text/css');
Works fine.

Oh, not fine. It doesn't :D

Hi @creeplays, I have fixed it. Try it.
Thank you.

You are awesome! Thank you :D