Skip to content

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