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

Update config #52

Merged
merged 7 commits into from
Aug 9, 2016
Merged

Update config #52

merged 7 commits into from
Aug 9, 2016

Conversation

sorrycc
Copy link
Member

@sorrycc sorrycc commented Aug 8, 2016

options

可以是 Object,内置 antd library 。(兼容老版本)

{
  "libraryDirectory": "component",  // default: lib
  "style": true,
}

也可以是数组,不内置 antd library 的配置,完全自定义。

[
  {
    libraryName: "antd",
    libraryDirectory: "lib",   // default: lib
    style: true,
  },
  {
    libraryName: "antd-mobile",
    libraryDirectory: "component",
  },
]

@sorrycc sorrycc mentioned this pull request Aug 8, 2016
1 task
@afc163
Copy link
Contributor

afc163 commented Aug 8, 2016

现在 options 只能是 array 了么?最好兼容下原来的写法。

@sorrycc
Copy link
Member Author

sorrycc commented Aug 8, 2016

更新了,说明见主 issue 。

@afc163
Copy link
Contributor

afc163 commented Aug 8, 2016

{
  "libraryName": "antd-mobile",
  "libraryDirectory": "lib"
}

这种呢?

@sorrycc
Copy link
Member Author

sorrycc commented Aug 8, 2016

@afc163 支持了。

@afc163
Copy link
Contributor

afc163 commented Aug 9, 2016

👍

@sorrycc sorrycc merged commit fa2cb8f into master Aug 9, 2016
@sorrycc sorrycc deleted the update-config branch August 9, 2016 06:31
@sorrycc
Copy link
Member Author

sorrycc commented Aug 9, 2016

0.5.1 (0.5.0 我昨天已 unpublish)

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

Successfully merging this pull request may close these issues.

2 participants