Skip to content

Commit

Permalink
Merge pull request #539 from provenance-io/jarryd/new-modal
Browse files Browse the repository at this point in the history
feat: Transform mixed ESModules
  • Loading branch information
jarrydallison authored Oct 24, 2024
2 parents e32bd40 + e051464 commit 9985363
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<link rel="manifest" href="./manifest.json" />
<base href="/">
<title>Provenance Explorer</title>
<script type="module" crossorigin src="./assets/index-C10XQEbU.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-B8WmsFv1.css">
<script type="module" crossorigin src="./assets/index-D7SnGtfO.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-CE4YnRrd.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
3 changes: 3 additions & 0 deletions vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export default defineConfig({
react(),
],
dedupe: ['react-dom', 'styled-components', 'react', '@interchain-ui/react'],
build: {
commonjsOptions: { transformMixedEsModules: true } // Change
},
optimizeDeps: {
force: true,
esbuildOptions: {
Expand Down

0 comments on commit 9985363

Please sign in to comment.