motion icon indicating copy to clipboard operation
motion copied to clipboard

Dist broken?

Open nadnad opened this issue 7 years ago • 0 comments

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

nadnad avatar May 02 '18 11:05 nadnad