Skip to content

Commit 87d813e

Browse files
committed
update compile
1 parent b4a714e commit 87d813e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
.doc
33
node_modules
44
coverage/
5+
es/
6+
lib/
57
~*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"scripts": {
3030
"start": "father doc dev --storybook",
3131
"build": "father doc build --storybook",
32-
"compile": "rc-tools run compile --babel-runtime",
32+
"compile": "father build",
3333
"gh-pages": "rc-tools run gh-pages",
3434
"pub": "rc-tools run pub --babel-runtime",
3535
"lint": "eslint src/**/*",

src/useForm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import warning from 'warning';
2+
import * as warning from 'warning';
33
import {
44
Callbacks,
55
FieldData,

src/utils/validateUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import AsyncValidator from 'async-validator';
2-
import warning from 'warning';
2+
import * as warning from 'warning';
33
import {
44
FieldError,
55
InternalNamePath,

0 commit comments

Comments
 (0)