diff options
Diffstat (limited to 'date-fns/examples/webpack-4.x/constants.js')
-rw-r--r-- | date-fns/examples/webpack-4.x/constants.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/date-fns/examples/webpack-4.x/constants.js b/date-fns/examples/webpack-4.x/constants.js new file mode 100644 index 0000000..832c131 --- /dev/null +++ b/date-fns/examples/webpack-4.x/constants.js @@ -0,0 +1,9 @@ +import { maxTime as rootMaxTime, minTime as rootMinTime } from 'date-fns' +import { minTime } from 'date-fns/constants' +import { minTime as fpMinTime } from 'date-fns/fp' + +console.log( + rootMaxTime === 8640000000000000 && + rootMinTime === minTime && + minTime === fpMinTime +) |