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

import @bem-react/core/compose #478

Open
axaxaman opened this issue Sep 6, 2019 · 3 comments
Open

import @bem-react/core/compose #478

axaxaman opened this issue Sep 6, 2019 · 3 comments

Comments

@axaxaman
Copy link

axaxaman commented Sep 6, 2019

Хочется иметь возможность подключить отдельно compose.

import { compose } from '@bem-react/core/compose'

Я не использую classname, classnames, но они импортируются.

@awinogradov
Copy link
Member

@axaxaman Для отдельного compose можно взять really-typed-compose например

@yarastqt
Copy link
Member

yarastqt commented Sep 6, 2019

Нужно просто поставлять esm формат

@yarastqt
Copy link
Member

yarastqt commented Sep 6, 2019

Вообщем можно сделать сразу пару вещей:

  • Сделать поставку в esm формате
  • Разделить все по модулям, чтобы была возможность точечного импорта

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

No branches or pull requests

3 participants