-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vercel deployment doesn't work from fresh install #250
Comments
any solutions? having this too |
looking at this today |
I'm having this too. My {
"name": "some-one",
"version": "1.1.371",
"private": true,
"type": "module",
"scripts": {
"dev": "one dev",
"dev:clean": "one dev --clean",
"clean": "one clean",
"prebuild:native": "one prebuild",
"build:web": "one build",
"serve": "one serve"
},
"installConfig": {
"hoistingLimits": "workspaces"
},
"dependencies": {
"expo": "~51.0.28",
"one": "^1.1.371",
"react": "^18.3.1",
"react-native": "0.74.5",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.5",
"react-native-screens": "3.31.1",
"react-native-web": "^0.19.12"
},
"devDependencies": {
"@types/react": "^18.3.11",
"vite": "^6.0.5"
}
} My import { defineConfig } from "vite"
import { one } from "one/vite"
export default defineConfig({
plugins: [
one({
web: {
defaultRenderMode: "ssg",
deploy: "vercel",
},
server: {
platform: "vercel",
},
}),
],
}) |
Yea so I went into this quite a bit, it seems we have to move to the build output API. I will continue to work on this. |
PR #397 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(Strangely
vercel dev
does work though)How to reproduce:
Setup new app
Edit
vite.config.ts
plugins.one.web.deploy: "vercel"
Run
vercel
Go to URL provided and get HTML output of the
index.js
file - https://test-one-vercel.vercel.appAny ideas on what I can do to get this to work?
If it helps I cloned the hono vercel starter and got that working fine
The text was updated successfully, but these errors were encountered: