Skip to content

Commit

Permalink
Merge pull request #8 from silx-kit/up-h5web
Browse files Browse the repository at this point in the history
Upgrade H5Web to v13
  • Loading branch information
axelboc authored Sep 16, 2024
2 parents f631150 + dd92799 commit e1e6a2c
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 54 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"analyze": "npx source-map-explorer 'build/static/js/*.js'"
},
"dependencies": {
"@h5web/app": "12.0.0",
"@h5web/h5wasm": "12.0.0",
"@h5web/app": "13.0.0",
"@h5web/h5wasm": "13.0.0",
"@react-hookz/web": "15.1.0",
"h5wasm-plugins": "0.0.3",
"immer": "9.0.15",
Expand Down
102 changes: 51 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import '@h5web/app/styles.css';
import './index.css';

import { assertNonNull } from '@h5web/app';
import { assertNonNull, enableBigIntSerialization } from '@h5web/app';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';

import App from './App';

enableBigIntSerialization();

const rootElem = document.querySelector('#root');
assertNonNull(rootElem);

Expand Down

0 comments on commit e1e6a2c

Please sign in to comment.