Closed thisispaul closed 6 years ago
The main issue is that it seems in the src/colourjoe.js file all the calls to onecolor() have been renamed to ONECOLOR() for reasons I don't know why but the grunt build is still injecting the onecolor variable lowercase.
Yeah, easy fix by the looks of it. Just testing and pushing. For some reason onecolor changed their scheme. Thanks for noticing.
There's a preliminary fix now. Give it a go.
What do you think if I dropped the entire build step entirely? The trend is a little different now.
Yeah works now cheers!
What do you mean by dropping the build step completely?
Edit: I've never really published anything properly like this but I know you can hook into the prepublish npm and build libs that way so the node_module just includes a lib for easy import/requiring but not sure how that works with also publishing prepackaged dist stuff.
@thisispaul The point would be to point directly to the source and skip bundling. I think I'll leave it as is for now, though, as there's no pressure to change.
@bebraw yeah its probably best to leave as is right now.
In the 3.0.0 release you have renamed the onecolor variable to ONECOLOR but not when it is injected into the dist package so it is broken.