We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fresh project created with npx create-remix@latest --template remix-run/remix/templates/vite-express
npx create-remix@latest --template remix-run/remix/templates/vite-express
Then add build.sourcemap to the vite.config.js
vite.config.js
import { vitePlugin as remix } from "@remix-run/dev"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ build: { sourcemap: true, }, plugins: [remix(), tsconfigPaths()], });
Run the build and nothing is generated.
NODE_ENV=production npm run build > build > remix vite:build vite v5.1.5 building for production... ✓ 80 modules transformed. build/client/.vite/manifest.json 0.90 kB │ gzip: 0.26 kB build/client/assets/_index-D_UUquDl.js 0.76 kB │ gzip: 0.39 kB build/client/assets/root-CXCOh6Pt.js 1.44 kB │ gzip: 0.83 kB build/client/assets/jsx-runtime-BlSqMCxk.js 8.09 kB │ gzip: 3.04 kB build/client/assets/entry.client-BJ12z_Rq.js 14.04 kB │ gzip: 5.00 kB build/client/assets/components-t0vHlsCC.js 212.81 kB │ gzip: 68.87 kB ✓ built in 488ms vite v5.1.5 building SSR bundle for production... ✓ 5 modules transformed. build/server/.vite/manifest.json 0.13 kB build/server/index.js 6.89 kB ✓ built in 13ms
The text was updated successfully, but these errors were encountered:
I think PR #8965 fixes this
Sorry, something went wrong.
Thanks for the quick reply, works with 2.8.1-pre.0
2.8.1-pre.0
Closing this as a dup of #8935, fixed by #8965
No branches or pull requests
Reproduction
Fresh project created with
npx create-remix@latest --template remix-run/remix/templates/vite-express
Then add build.sourcemap to the
vite.config.js
Run the build and nothing is generated.
The text was updated successfully, but these errors were encountered: