Description: Make the build reproducible Author: Chris Lamb Last-Update: 2025-02-18 --- node-svgdotjs-svg.js-3.2.4.orig/.config/rollup.config.js +++ node-svgdotjs-svg.js-3.2.4/.config/rollup.config.js @@ -7,7 +7,7 @@ import terserModule from "/usr/share/nod const terser = terserModule.terser // import filesize from 'rollup-plugin-filesize' -const buildDate = Date() +const buildDate = new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime()); const headerLong = `/*! * ${pkg.name} - ${pkg.description}