Skip to content

Commit

Permalink
#945 Fix ReferenceError: exports is not defined in ES module scope bu…
Browse files Browse the repository at this point in the history
…ild error
  • Loading branch information
thekingofcity committed Feb 2, 2025
1 parent 5943a18 commit 32ca03d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
35 changes: 17 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@chakra-ui/react": "^2.10.5",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@railmapgen/rmg-components": "^10.1.9",
"@railmapgen/rmg-components": "^10.1.10",
"@railmapgen/rmg-palette-resources": "^2.2.5",
"@railmapgen/rmg-runtime": "^10.3.2",
"@railmapgen/rmg-translate": "^3.2.3",
Expand All @@ -28,7 +28,6 @@
"react-redux": "^9.2.0",
"react-router-dom": "^7.1.5",
"react-use-event-hook": "^0.9.6",
"rollup": "^4.34.0",
"vite-plugin-svgr": "^4.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default defineConfig({
setupFiles: './src/setupTests.ts',
server: {
deps: {
fallbackCJS: true,
fallbackCJS: false,
},
},
watch: false,
Expand Down

0 comments on commit 32ca03d

Please sign in to comment.