 NODE_ENV      = process.env.NODE_ENV || DEVEL
 PRODMODE      = NODE_ENV != DEVEL
 DEVMODE       = not PRODMODE
-dateISO       = new Date().toISOString()
+date          = new Date()
+BUILD_DATE    = date.toISOString()
+BUILD_TS      = date.getTime()
 
 # create a file base_url to set a base url
 BASE_URL      = misc_node.BASE_URL

                                'MATHJAX_URL' : JSON.stringify(MATHJAX_URL)
                                'SMC_VERSION' : JSON.stringify(SMC_VERSION)
                                'SMC_GIT_REV' : JSON.stringify(GIT_REV)
                                'BUILD_DATE'  : JSON.stringify(dateISO)

{StatsWriterPlugin} = require("webpack-stats-plugin")
statsWriterPlugin   = new StatsWriterPlugin(filename: "webpack-stats.json")

# SageMathCloud, by SageMath, Inc., (c) 2016 -- License: GPLv3

###
# Webpack configuration file

