Skip to content

Commit c17ba4f

Browse files
build: externalize @ark-ui/react
extern
1 parent 248a710 commit c17ba4f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/theme/components/custom-select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const transitionProps: SystemStyleObject = {
77
transitionDuration: 'normal',
88
};
99

10-
export const customSelectTheme = helpers.defineMultiStyleConfig({
10+
export const customSelectTheme: ReturnType<typeof helpers.defineMultiStyleConfig> = helpers.defineMultiStyleConfig({
1111
baseStyle: {
1212
root: {
1313
...transitionProps,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"typescript": "tsc --p ./tsconfig-build.json --noEmit"
3232
},
3333
"peerDependencies": {
34+
"@ark-ui/react": "^1.3.0",
3435
"@chakra-ui/anatomy": "^2.2.2",
3536
"@chakra-ui/icons": "^2.1.1",
3637
"@chakra-ui/layout": "^2.3.1",
@@ -54,7 +55,6 @@
5455
"react-select": "^5.8.0"
5556
},
5657
"devDependencies": {
57-
"@ark-ui/react": "^1.3.0",
5858
"@chakra-ui/anatomy": "^2.2.2",
5959
"@chakra-ui/icons": "^2.1.1",
6060
"@chakra-ui/layout": "^2.3.1",

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export default defineConfig({
2525
},
2626
rollupOptions: {
2727
external: [
28+
'@ark-ui/react',
2829
'@chakra-ui/anatomy',
2930
'@chakra-ui/icons',
3031
'@chakra-ui/layout',

0 commit comments

Comments
 (0)