Skip to content

Commit

Permalink
moah esm
Browse files Browse the repository at this point in the history
  • Loading branch information
frontendphil committed Oct 23, 2024
1 parent 282017b commit dbfd6d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions extension/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ esbuild
'./src/panel/app.tsx',
],
bundle: true,
format: 'esm',
minify: process.env.NODE_ENV === 'production',
sourcemap: process.env.NODE_ENV !== 'production' ? 'inline' : 'linked',
loader: {
Expand Down
1 change: 1 addition & 0 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "zodiac-pilot",
"version": "0.0.0",
"description": "Chrome extension to simulate dApp interactions and record transactions",
"type": "module",
"main": "index.js",
"repository": "https://github.com/gnosisguild/zodiac-pilot.git",
"author": "Jan-Felix <jan@gnosisguild.org>",
Expand Down
2 changes: 1 addition & 1 deletion extension/public/sidepanel.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/>
<title>Zodiac Pilot</title>
<link rel="stylesheet" href="/build/panel/app.css" />
<script src="/build/panel/app.js" defer></script>
<script type="module" src="/build/panel/app.js" defer></script>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit dbfd6d5

Please sign in to comment.