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

i18n for BEMJSON #133

Open
wants to merge 1 commit into
base: i18n-bemjson
Choose a base branch
from
Open

i18n for BEMJSON #133

wants to merge 1 commit into from

Conversation

levonet
Copy link
Member

@levonet levonet commented Feb 11, 2016

\cc @tadatuta

];
}),
// replace 'index.min.js' with 'index.{lang}.min.js'
// replace '?.min.css' with '?.{lang}.min.css'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а разве css может зависеть от языка?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

так как для каждого bemjson нужно собирать бандл в отдельной виртуальной файловой системе (не знаю как она правильно называется, я про ?.{lang}.files и ?.{lang}.dirs), то попытка всё сложить в один ?.min.css вызывает ошибку.
Не смог придумать как простым способом собирать общую технологию для всех bemjson.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно смёржить все декларации, полученные из BEMJSON-файла, и по этой декларации собрать CSS.

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

Successfully merging this pull request may close these issues.

3 participants