Skip to content

import from dist directory #50

Open
@arpanda

Description

@arpanda

I have manually build it and trying to import it directly in the browser.

import {LM} from '/node_modules/ml-levenberg-marquardt/dist/ml-levenberg-marquardt.js'

and getting the below error.

Uncaught SyntaxError: The requested module '/node_modules/ml-levenberg-marquardt/dist/ml-levenberg-marquardt.js' does not provide an export named 'LM' 

Any suggestion to solve it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions