Skip to content

Commit

Permalink
Merge branch 'lamby-reproducible-build' into release-0.56.4
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Mar 4, 2018
2 parents 9291989 + eb272d1 commit 53003b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,6 +1,7 @@
# rollup changelog

## 0.56.4
* Make rollup builds reproducible ([#2024](https://github.com/rollup/rollup/pull/2024))
* Improve error handling for source maps ([#2012](https://github.com/rollup/rollup/pull/2012))
* Properly handle SystemJS default exports without semicolons ([#2019](https://github.com/rollup/rollup/pull/2019))
* Properly handle importing the same variable several times when code-splitting ([#2020](https://github.com/rollup/rollup/pull/2020))
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.js
Expand Up @@ -15,9 +15,11 @@ const commitHash = (function () {
}
})();

const now = new Date(process.env.SOURCE_DATE_EPOCH ? (process.env.SOURCE_DATE_EPOCH * 1000) : new Date().getTime()).toUTCString();

const banner = `/*
Rollup.js v${pkg.version}
${new Date()} - commit ${commitHash}
${now} - commit ${commitHash}
https://github.com/rollup/rollup
Expand Down

0 comments on commit 53003b8

Please sign in to comment.