Skip to content

i18n for BEMJSON#133

Open
levonet wants to merge 1 commit intoi18n-bemjsonfrom
i18n.levonet
Open

i18n for BEMJSON#133
levonet wants to merge 1 commit intoi18n-bemjsonfrom
i18n.levonet

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

3 participants