one
Version:
One is a new React Framework that makes Vite serve both native and web.
17 lines (13 loc) • 744 B
text/typescript
// This needs to load before any other imports that might use the server globals.
// Specifically `one-server-only`, which will be imported at some level under
// some of the subsequent imports.
import './server/setupServerGlobals'
// plugins
export { resolvePath } from '@vxrn/resolve'
export { clientTreeShakePlugin } from './vite/plugins/clientTreeShakePlugin'
export { createFileSystemRouterPlugin } from './vite/plugins/fileSystemRouterPlugin'
export { removeReactNativeWebAnimatedPlugin } from './vite/plugins/removeReactNativeWebAnimatedPlugin'
export { SSRCSSPlugin } from './vite/plugins/SSRCSSPlugin'
export { makePluginWebOnly } from './vite/makePluginWebOnly'
export { build } from './cli/build'
export { one } from './vite/one'