Skip to content

Commit

Permalink
[bugfix] Can't resolve './locale
Browse files Browse the repository at this point in the history
  • Loading branch information
USER authored and USER committed May 4, 2020
1 parent 781cfcf commit 9e14f34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -14,10 +14,14 @@
"js-yaml": "^3.13.1",
"lerna": "^3.20.2",
"node-sass": "^4.13.1",
"moment": "2.24.0",
"prettier": "^2.0.4",
"sass-loader": "^8.0.2",
"typescript": "^3.8.3"
},
"resolutions": {
"moment": "2.24.0"
},
"scripts": {
"start": "lerna run start --parallel",
"storybook": "start-storybook -p 6006",
Expand All @@ -27,4 +31,4 @@
"packages/*",
"website"
]
}
}
2 changes: 1 addition & 1 deletion packages/core/src/components/Form/Form.tsx
Expand Up @@ -55,7 +55,7 @@ function FormInner(
plugin,
schema,
customValidate,
defaultValue,
defaultValue = {},
layout,
labelAlign,
size,
Expand Down
4 changes: 4 additions & 0 deletions packages/plugin-antd/package.json
Expand Up @@ -25,6 +25,7 @@
"classnames": "^2.2.6",
"codemirror": "^5.53.2",
"lodash-es": "^4.17.15",
"moment": "2.24.0",
"react-codemirror": "^1.0.0"
},
"peerDependencies": {
Expand All @@ -41,6 +42,9 @@
"rollup-plugin-typescript2": "^0.27.0",
"typescript": "^3.8.3"
},
"resolutions": {
"moment": "2.24.0"
},
"scripts": {
"prestart": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
"start": "rollup -c --watch",
Expand Down

0 comments on commit 9e14f34

Please sign in to comment.