You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importViteRequireContextfrom"@originjs/vite-plugin-require-context";ViteRequireContext()// however, ViteRequireContext .default() is OK.
What is Expected?
What is actually happening?
failed to load config from /root/jaqn/vite.config.ts
error during build:
TypeError: ViteRequireContext is not a function
The text was updated successfully, but these errors were encountered:
xiangnanscu
changed the title
'default' is not exported by..."
'default' is not exported by..." TypeError: ViteRequireContext is not a function
Apr 10, 2024
Versions
Reproduction
Additional Details
Steps to reproduce
in
vite.config.ts
:What is Expected?
What is actually happening?
The text was updated successfully, but these errors were encountered: