diff --git a/package.json b/package.json index 801a54b..42771fe 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "type": "git", "url": "https://github.com/keller-mark/higlass-zarr-datafetchers" }, - "main": "build-pkg/index.min.js", + "main": "build-pkg/index.esm.js", + "unpkg": "build-pkg/index.umd.js", "author": "Mark Keller", "license": "MIT", "dependencies": { diff --git a/src/demo/Demo.js b/src/demo/Demo.js index 752aecd..2d0111c 100644 --- a/src/demo/Demo.js +++ b/src/demo/Demo.js @@ -4,13 +4,13 @@ import { HiGlassComponent } from 'higlass'; import viewconfig from './viewconfig.js'; export default function demo() { - return ( -