Skip to content

Commit

Permalink
Merge pull request #30 from geneontology/fix-enable-import-build
Browse files Browse the repository at this point in the history
Add enableImportInjection to stencil config to allow better integration with bundlers like Vite
  • Loading branch information
pkalita-lbl authored Oct 31, 2023
2 parents b299646 + 741a555 commit d9a4cbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/gocam-viz/gocam-viz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import cytoscape from 'cytoscape';
import dagre from 'cytoscape-dagre';
import { glyph, _node_labels, annotate, _folded_stack_gather } from '../../globals/utils';
import * as dbxrefs from "@geneontology/dbxrefs";
import '@geneontology/wc-light-modal';
import {
Activity, ActivityType, Cam,
ActivityNodeType,
Expand Down
3 changes: 3 additions & 0 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ export const config: Config = {
]
},
],
extras: {
enableImportInjection: true
}
};

0 comments on commit d9a4cbe

Please sign in to comment.