Skip to content

Commit

Permalink
Fix UMD name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Feb 29, 2024
1 parent b40c89a commit 6dd2c8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ if (process.env.NODE_ENV === 'production') {
await esbuild.build({
entryPoints: ['src/index.ts'],
bundle: true,
globalName: 'JBrowsePluginProtein3d',
globalName: 'JBrowsePluginMsaView',
outfile: 'dist/jbrowse-plugin-msaview.umd.production.min.js',
sourcemap: true,
metafile: true,
minify: true,
plugins: [
Expand Down Expand Up @@ -54,7 +55,7 @@ if (process.env.NODE_ENV === 'production') {
let ctx = await esbuild.context({
entryPoints: ['src/index.ts'],
bundle: true,
globalName: 'JBrowsePluginProtein3d',
globalName: 'JBrowsePluginMsaView',
outfile: 'dist/out.js',
metafile: true,
plugins: [
Expand Down

0 comments on commit 6dd2c8a

Please sign in to comment.