Skip to content

Commit 2eecddf

Browse files
committed
Deduplicated @macrostrat/svg-map-components
1 parent 1611a1e commit 2eecddf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

frontend/packages/demo-app/src/app.sass

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ g.ne_110m_land
8888
stroke: #aaa
8989
stroke-width: 1px
9090
stroke-dasharray: 2,2
91+
92+
canvas
93+
width: 100%
94+
height: 100%

frontend/packages/demo-app/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {defineConfig} from "vite";
1+
import { defineConfig } from "vite";
22
// import * as path from "node:path";
33
// import * as fs from "node:fs";
44
//
@@ -17,6 +17,7 @@ import {defineConfig} from "vite";
1717
export default defineConfig({
1818
resolve: {
1919
conditions: ["source"],
20+
dedupe: ["react", "react-dom", "@macrostrat/svg-map-components"],
2021
},
2122
//envDir,
2223
});

0 commit comments

Comments
 (0)