Skip to content

Unable to update to v3.0 #20

@elementalTIMING

Description

@elementalTIMING

Hi,

I'm trying to update to v3.0 but it fails constantly. In an Angular/Typescript environment I followed your instructions and did

import { Fireworks } from 'fireworks-canvas';

This fails with 'Fireworks' can only be imported by using a default import.

So I did:

import Fireworks from 'fireworks-canvas';

But when executing it brings

TypeError: fireworks_canvas__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor

The execution starts with:

const fireworks = new Fireworks(container, options);
const stop = fireworks.start();

Please advice to make it running again.

Thank you!

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