unix-timestamp-webpack-plugin
Emits a file that contains a unix timestamp of your latest webpack build.
Works with webpack 3.1 and later
Install
npm install --save-dev unix-timestamp-webpack-plugin
Configuration
// Inside your webpack configurationvar UnixTimestampPlugin = ; moduleexports = plugins: ;
Options
Option | Default |
---|---|
filePath | ./ |
fileName | .build-timestamp |
Example
filePath: path fileName: 'build-timestamp.txt'