Open manuelsanchez2 opened 4 months ago
where is the qwik pwa plugin in Vite config?
My config is like this:
import { defineConfig } from 'vite';
import { qwikVite } from '@builder.io/qwik/optimizer';
import { qwikCity } from '@builder.io/qwik-city/vite';
import tsconfigPaths from 'vite-tsconfig-paths';
import { qwikPwa } from "@qwikdev/pwa";
export default defineConfig(() => {
return {
plugins: [qwikCity(), qwikVite(), tsconfigPaths(), qwikPwa()],
preview: {
headers: {
'Cache-Control': 'public, max-age=600',
},
},
};
});
And what is failing the build.server command that uses vercel adaptor. "build.server": "vite build -c adapters/vercel-edge/vite.config.ts",
If you want to take a better look, whole code is to be found here:
ran into the same issue, is there any fix available?
Hi! I have followed all the steps, but when trying to run the build command, I get this error from the server one.
Do you have an idea of why and what I could do to solve this issue? Thanks in advance!