unix-timestamp-webpack-plugin

1.0.5 • Public • Published

unix-timestamp-webpack-plugin

npm version Build Status

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 configuration
var UnixTimestampPlugin = require('unix-timestamp-webpack-plugin');
 
module.exports = {
  plugins: [new UnixTimestampPlugin()]
};  

Options

Option Default
filePath ./
fileName .build-timestamp

Example

new UnixTimestampPlugin({
    filePath: path.join(__dirname, 'app'),
    fileName: 'build-timestamp.txt'
})

Readme

Keywords

Package Sidebar

Install

npm i unix-timestamp-webpack-plugin

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

10.5 kB

Total Files

13

Last publish

Collaborators

  • dschu