-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add option.exportName #98
base: master
Are you sure you want to change the base?
Conversation
index.js
Outdated
if (file.isStream()) { | ||
return callback(new PluginError(pluginName, 'Streaming not supported')); | ||
if (options.extension) { | ||
deprecate('options.extension: is deprecated. Please use `options.generator.extension` instead.'); |
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.
двоеточие не нужно
* *String* **extension** — extension for file. Default — `.${engine}.js`. | ||
* *Object* **engine** — XJST [options](https://github.com/bem/bem-xjst/blob/master/docs/en/3-api.md#settings). |
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.
Могу ошибаться, но @miripiruni это выпиливал (или exportName)
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.
Не понял вопроса, судя по доке опции работают
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.
Опции engine
больше нет. Есть только exportName
.
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.
В общем, коммент надо унести к exportName, а это зарезать.
Только не забыть про старые версии
2299508
to
91e4175
Compare
91e4175
to
81fc86b
Compare
🆙 Merge with @zxqfox Guys if you change codestyle in project. Please do this things:
|
@miripiruni is in progress with connected issue bem/bem-xjst#375 I think we should wait for him here. |
No description provided.