Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Dist broken? #11

Description

@nadnad

Hi there,

I'm trying to use do import getCurve from '@ibm/motion/getCurve.js'; from the dist build but it looks like the build is broken. It's referencing the files ./constants.js and ./getMotion.js which are not available in the dist build:
https://github.com/IBM/motion/blob/master/dist/index.js#L15-L21
https://github.com/IBM/motion/blob/master/dist/getCurve.js#L11-L13

I'm not too familiar with gulp and browserify unfortunately so can't point out exact what's broken in the build pipeline.

The exact error I'm getting is:

These relative modules were not found:

* ./getMotion.js in ./~/@ibm/motion/dist/index.js
* ./constants.js in ./~/@ibm/motion/dist/index.js, ./~/@ibm/motion/dist/getCurve.js
* ./constants in ./~/@ibm/motion/dist/getDuration.js
* ./helpers in ./~/@ibm/motion/dist/getDuration.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions