Skip to content

Commit

Permalink
The legacy option not available on all node versions, so just use the
Browse files Browse the repository at this point in the history
normal command again
  • Loading branch information
cmdcolin committed Oct 20, 2022
1 parent ec0a8dc commit e99004d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions demos/jbrowse-react-circular-genome-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
Expand Down
4 changes: 2 additions & 2 deletions demos/jbrowse-react-linear-genome-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ https://github.com/webpack/webpack/issues/13791#issuecomment-897579223 in
create-react-app. See our demo projects for more examples
https://jbrowse.org/jb2/docs/embedded_components/

The web worker functionality is not enabled by default because it requires your
bundler to understand the "new Worker" construct, which not all bundlers
support, but we do recommend using it if you are able to as it can improve
speed and user experience. Link for web pack support of new Worker syntax
https://webpack.js.org/guides/web-workers/

<Canvas withSource="open">
<Story id="linear-view--with-web-worker" />
</Canvas>

0 comments on commit e99004d

Please sign in to comment.