|
|
|
@ -50,6 +50,22 @@ const config = {
|
|
|
|
fs: {
|
|
|
|
fs: {
|
|
|
|
strict: false
|
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|