jbrowse-components: Ability to import jbrowse packages outside of monorepo results in a jsx error

Failed to compile.

../jbrowse-components/packages/svg/src/SvgFeatureRenderer/components/FeatureGlyph.js
SyntaxError: /home/cdiesh/src/jbrowse-components/packages/svg/src/SvgFeatureRenderer/components/FeatureGlyph.js: Unexpected token (75:4)                                                  

  73 | 
  74 |   const glyphComponents = [
> 75 |     <title key={`glyph-title-${feature.id()}`}>{feature.id()}</title>,
     |     ^
  76 |     <GlyphComponent
  77 |       key={`glyph-${feature.id()}`}
  78 |       {...props}

cd packages/core;yarn link; cd - cd packages/svg;yarn link;cd - cd jbrowse-widget-v1 yarn link @gmod/jbrowse-core yarn link @gmod/jbrowse-plugin-svg

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (15 by maintainers)

Most upvoted comments