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

feat: generate dist files #16

Closed
benjycui opened this issue Sep 10, 2016 · 1 comment
Closed

feat: generate dist files #16

benjycui opened this issue Sep 10, 2016 · 1 comment
Assignees

Comments

@benjycui
Copy link
Member

生成 dist/xxx.js 之类的文件,方便在 CodePen 和 JSFiddle 中引用,以重现问题。

@benjycui
Copy link
Member Author

@react-component/admin 空了都把 dist 文件加上?配置方法参考:

https://github.com/react-component/slider/blob/master/package.json#L20-L29

增加了 entry 字段,并且发布时要把 dist 目录带上。

测试可以用这个 CodePen 确认 http://codepen.io/benjycui/pen/mOrrWz?editors=1010

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

No branches or pull requests

1 participant