-
Notifications
You must be signed in to change notification settings - Fork 23
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
intersect-deps
and intersect-bemdecl
techs
#190
Conversation
/cc @blond |
@JiLiZART, задумка зачёт! ;) На код внимательно посмотрю на днях. |
|
||
this._target = this.getOption('bemdeclTarget'); | ||
if (this._target) { | ||
logger.logOptionIsDeprecated(this.node.unmaskTargetName(this._target), 'enb-bem', this.getName(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В новой технологии не нужно поддерживать устаревшие опции.
@JiLiZART, есть предложение сделать базовую технологию для объединения, вычитания и пересечения.
Для объединения и пересечения всё очень похоже, для вычитания немного отличается. Что-то можно вынести в хелпер. Чтобы в итоге технологии отличались только работой с данными (сейчас это пару строк). |
@blond если я правильно понял, сделать базовую технологию, в которой можно будет выбирать что конкретно делаем, вычитаем, пересекаем или объединяем? |
Скорее всего так не получится.
А так точно получится :) |
ok |
@JiLiZART, какие успехи? ) |
На выходных буду фиксить |
The `node.getLevelNamingScheme` and the `node.setLevelNamingScheme` methods will be removed in `enb@2.0.0`.
Got rid of scheme builders
Redundant code of deps
Remove deprecated techs
Remove deprecated options
The `mock-fs` does not support `require` for Node.js 4. Because of this test failed with error: ``` Cannot find module 'path/to/file.js ```
Exactly the same benchmarks in `bem-walk` repository
Introspection Format
API moved to bottom of list
Remove 'docs/bem-project.md' file
Used the `files` field in `package.json`
Replaced *.bemhtml with *.bemhtml.js [issue 404]
@blond В общем, долгие у меня выходные видимо выдались. |
Ребят, а почему вы не хотите использовать bem-decl с его интерсектами? |
@zxqfox теперь, конечно, надо хотеть. |
Use case
Build a
common
bemdecl or deps file that consists only from blocks used in all bundles.After i can substract this bemdecl file from other bundles and generate
common.css
andcommon.js
+bundle.css
andbundle.js
file.TODO