Skip to content

Commit

Permalink
init: fix pub error
Browse files Browse the repository at this point in the history
  • Loading branch information
warmhug committed Jun 6, 2018
1 parent 22603c2 commit 79a7703
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// antd-tools 只是为 web 项目构建、并生成 dist 目录,需要根目录下的 index.js 和 webpack.config.js
// 但 RN 项目不需要,此处放个空文件 来利用 antd-tools 提供的 babel编译 / 打tag 等构建功能
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "antd-mobile-rn",
"version": "2.2.0-beta.0",
"version": "2.2.0-beta.1",
"description": "基于蚂蚁金服移动设计规范的 React Native 组件库",
"keywords": [
"ant",
Expand Down
4 changes: 4 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const getWebpackConfig = require('antd-tools/lib/getWebpackConfig');
const webpackConfig = getWebpackConfig(false);

module.exports = webpackConfig;

0 comments on commit 79a7703

Please sign in to comment.