Hack the build into working

pull/8289/head
Puru Vijay 3 years ago
parent fef232fa63
commit 2bf6449c7c

@ -50,6 +50,22 @@ const config = {
fs: {
strict: false
}
},
// !HACK: Remove once vite 4.3 is out
worker: {
plugins: [
{
name: 'remove-manifest',
configResolved(c) {
const manifestPlugin = c.worker.plugins.findIndex((p) => p.name === 'vite:manifest');
c.worker.plugins.splice(manifestPlugin, 1);
const ssrManifestPlugin = c.worker.plugins.findIndex(
(p) => p.name === 'vite:ssr-manifest'
);
c.plugins.splice(ssrManifestPlugin, 1);
}
}
]
}
};

Loading…
Cancel
Save