Browse Source
chore: Add theme=null export for vite build error (#37462)
* fix: Vite build error
* test: Update snapshot
* chore: Update snapshot
pull/37471/head
二货爱吃白萝卜
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
0 deletions
-
components/__tests__/__snapshots__/index.test.ts.snap
-
components/index.tsx
-
tests/__snapshots__/index.test.js.snap
|
@ -67,6 +67,7 @@ Array [ |
|
|
"Upload", |
|
|
"Upload", |
|
|
"message", |
|
|
"message", |
|
|
"notification", |
|
|
"notification", |
|
|
|
|
|
"theme", |
|
|
"version", |
|
|
"version", |
|
|
] |
|
|
] |
|
|
`; |
|
|
`; |
|
|
|
@ -16,6 +16,9 @@ if ( |
|
|
} |
|
|
} |
|
|
/* @remove-on-es-build-end */ |
|
|
/* @remove-on-es-build-end */ |
|
|
|
|
|
|
|
|
|
|
|
// Fix vite build error
|
|
|
|
|
|
export const theme = null; |
|
|
|
|
|
|
|
|
export { default as Affix } from './affix'; |
|
|
export { default as Affix } from './affix'; |
|
|
export type { AffixProps } from './affix'; |
|
|
export type { AffixProps } from './affix'; |
|
|
export { default as Alert } from './alert'; |
|
|
export { default as Alert } from './alert'; |
|
|
|
@ -67,6 +67,7 @@ Array [ |
|
|
"Upload", |
|
|
"Upload", |
|
|
"message", |
|
|
"message", |
|
|
"notification", |
|
|
"notification", |
|
|
|
|
|
"theme", |
|
|
"version", |
|
|
"version", |
|
|
] |
|
|
] |
|
|
`; |
|
|
`; |
|
|