gka / chroma.js

JavaScript library for all kinds of color manipulations
https://gka.github.io/chroma.js/
Other
10.14k stars 546 forks source link

does not build reproducibly #284

Open josch opened 2 years ago

josch commented 2 years ago

The generated chroma.js differs depending on the directory name of the git clone of this repo. The last few lines of chroma.js in this repo read:

    var chroma_js = chroma_1;

    return chroma_js;

})));

But those lines will be different if chroma.js is cloned into a repository with a different name. For example if I clone into a directory named buildExperiment1 then the last few lines of chroma.js will read:

    var buildExperiment1 = chroma_1;

    return buildExperiment1;

})));

The contents of chroma.js should not depend on the path of the git checkout.