feat: fixed viewer & objectloader build configs

This commit is contained in:
Fabians
2022-04-07 18:00:09 +03:00
parent 9e070f6c18
commit c91f0a4bba
33 changed files with 30226 additions and 6395 deletions
@@ -1,7 +1,6 @@
// Since Node v<18 does not provide fetch, we need to pass it in the options object. Note that fetch must return a WHATWG compliant stream, so cross-fetch won't work, but node/undici's implementation will.
import { fetch } from 'undici'
import ObjectLoader from '../../index.js'
import ObjectLoader from '../../dist/objectloader.js'
const loader = new ObjectLoader({
serverUrl: 'https://latest.speckle.dev',