Skip to content

webpack use #9

@luigi-13

Description

@luigi-13

Hello,
First of all thank you for your work, this plugin is very cool.

The only problem is that I can not integrate it with webpack and the npm repository.

In my entry file i put this line :

import Skycons from 'skycons' ;

and i have one error in my console when i call the plugin like this :

var skycons = new Skycons({"color": color});
skycons.add(element[0], newValues);
skycons.play();

The console error :

TypeError: skycons.add is not a function

Do you have a solution ? 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