bem / bem-core

BEM Core Library
https://ru.bem.info/technologies/classic/i-bem/
Other
276 stars 95 forks source link

Rethink the way to include external libs #387

Closed tadatuta closed 9 years ago

tadatuta commented 10 years ago

Right now we have some external libs in bem-core, e.g. vow.

I think we could use bower to get them into libs folder and then borschik or simple symlinks to put them into blocks.

// сс @veged @narqo

narqo commented 10 years ago

But were this (sym/borschik)-link will point after bem-core will become someone's dependence?

my-lib/
  libs/
    bem-core/
      blocks/
        vow  →  ../libs/vow  // ☚ Ooops! bem-core's libs aren't there anymore. They're my-lib's dependencies now
    vow/
tadatuta commented 10 years ago

@narqo We should have possibility for custom build of libraries on post install. For example for roo to css conversion, apply autoprefixer and so on. And install dependencies as a part of such post installation process.

narqo commented 10 years ago

We should have possibility for custom build of libraries on post install [..]

@tadatuta How does it connect with issue's description about Vow block and bower?

veged commented 9 years ago

there is not so many externals libs and seems like the problem is not that relevant