Remove worker config
This commit is contained in:
parent
467a8a93e9
commit
2e6112cd19
|
@ -4,14 +4,4 @@ import react from "@vitejs/plugin-react";
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react({ jsxRuntime: "automatic" })],
|
plugins: [react({ jsxRuntime: "automatic" })],
|
||||||
worker: {
|
|
||||||
rollupOptions: {
|
|
||||||
external: ["@codex-storage/sdk-js"],
|
|
||||||
output: {
|
|
||||||
globals: {
|
|
||||||
"@codex-storage/sdk-js": "codex-sdk-js",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -10,16 +10,6 @@ const { glob } = pkg;
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
worker: {
|
|
||||||
rollupOptions: {
|
|
||||||
external: ["@codex-storage/sdk-js", "@tanstack/react-query"],
|
|
||||||
output: {
|
|
||||||
globals: {
|
|
||||||
"@codex-storage/sdk-js": "codex-sdk-js",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
libInjectCss(),
|
libInjectCss(),
|
||||||
|
|
Loading…
Reference in New Issue