Skip to content

Commit 62449f3

Browse files
committed
Make build work
1 parent bc4dbd7 commit 62449f3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const zarrReader = await ZarrReader.initialize({
3838
varName: VAR_NAME,
3939
});
4040

41+
//@ts-expect-error ignoring for now
4142
function DeckGLOverlay(props) {
4243
const overlay = useControl(() => new DeckOverlay(props));
4344
overlay.setProps(props);

vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ import react from "@vitejs/plugin-react";
44
// https://vite.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7+
build: {
8+
target: "ES2022",
9+
},
710
});

0 commit comments

Comments
 (0)