webpack-contrib / stylus-loader

:art: A stylus loader for webpack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unexpected "indent"

TchernyavskyDaniil opened this issue · comments

unexpected "indent"
Ok, but where I missed that the indent?
Could you explain me, please

изображение

Stack trace:
ERROR in ./src/styles/main.styl (./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/stylus-loader!./src/styles/main.styl)
Module build failed (from ./node_modules/stylus-loader/index.js):
ParseError: /.../styles/button.styl:194:1
изображение
190| {BUTTON.selector}--{modifer}
191| {props}
192| &{BUTTON.selector}--pressed
193| for val, prop in props['&:active']
194| {val} prop
--------^
195|
196| {BUTTON.selector}__text
197| {BUTTON.selector}__progress

unexpected "indent"

colorModifers:
изображение
изображение

Button.selector:
изображение

https://gist.github.com/TchernyavskyDaniil/7998906c25db08c97e41efb0e24a44b7

Looks you have invalid syntax, it is error from stylus, we can't fix it on our side, anyway feel free to feedback if you still have the problem, sorry for big delay