Skip to content

es6 modules #188

@jikkuatwork

Description

@jikkuatwork

Is it possible to use this library via es6 modules? I tried to import from jsdeliver and it simply didn't work. All I got when I imported was a constructor. Tried debugging with ChatGPT but it looks like the library was expecting to register an effect and didn't contain the effects like NET.

For instance the import added an object to window called VANTA but it looks like this:

{version: '0.5.24', register: ƒ, VantaBase: ƒ}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions