0.0.6 • Published 6 years ago
date-webpack-plugin v0.0.6
Date Webpack Plugin
Emits a JSON file that contains the date of your Webpack build
Install
npm install --save-dev date-webpack-plugin
Configuration
// Add to your Webpack config file
var DateWebpackPlugin = require('date-webpack-plugin');
module.exports = {
plugins: [new DateWebpackPlugin({
path: '/my/path',
filename: 'timestamp.json',
locale: 'en-US'
})]
};
Output
{"date":"4/13/2018 15:03:48"}