Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

naming.entity.parse и React preset #395

Open
sergcen opened this issue Apr 5, 2020 · 0 comments
Open

naming.entity.parse и React preset #395

sergcen opened this issue Apr 5, 2020 · 0 comments

Comments

@sergcen
Copy link

sergcen commented Apr 5, 2020

Не парсит если есть layer

const originNaming = require('@bem/sdk.naming.presets/react');
const parse = require('@bem/sdk.naming.entity.parse')(originNaming);

// Enter a BEM entity name to parse.
parse('MyBlock/MyBlock_myModifier@layer'); // undefined

https://runkit.com/sergcen/5e89e5e41addc5001b44a4fa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant