Skip to content

Commit 46585be

Browse files
fix: webpack errors with typescript exports
1 parent f0525cb commit 46585be

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"typescript": "tsc --noEmit",
2727
"lint": "eslint \"**/*.{js,ts,tsx}\"",
2828
"prepare": "bob build",
29-
"release": "release-it",
29+
"release": "dotenv release-it --ci --",
3030
"example": "yarn --cwd example",
3131
"pods": "cd example && pod-install --quiet",
3232
"bootstrap": "yarn example && yarn && yarn pods"

src/index.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
export {
2-
default as useFormState,
3-
FormTextInputProps,
4-
FormRawProps,
5-
} from './useFormState';
1+
export type { FormTextInputProps, FormRawProps } from './useFormState';
2+
export { default as useFormState } from './useFormState';
63
export { default as Form } from './Form';
74
export { default as ScrollView } from './ScrollView';
85
export type { ErrorUtility, BooleanUtility } from './types';
9-
106
export type { TranslationsType } from './translations/utils';
117
export {
128
registerTranslation,

0 commit comments

Comments
 (0)