@flatxph/timestamp
v7.2.1
Published
This is just a sample project to study npm publishing of angular builder projects. This is forked from the original by @angular-builders/timestamp and any changes to this code will not reflect the orignal one.
Downloads
20
Readme
DO NOT USE THIS PACKAGE
This is just a sample project to study npm publishing of angular builder projects. This is forked from the original by @angular-builders/timestamp and any changes to this code will not reflect the orignal one.
Timestamp builder for Angular build facade
This builder is an example from the Medium article Angular CLI 6 under the hood — builders demystified.
Usage
In the root of your Angular application:
npm i -D @angular-builders/timestampIn your angular.json add the following to architect section of the relevant project:
"timestamp": { "builder": "@angular-builders/timestamp:file", "options": {} },Run:
ng run [relevant-project]:timestampWhere [relevant-project] is the project to which you've added the target
Options
path- path to the file with timestamp, defaults to./timestampformat- timestamp date format, defaults todd/mm/yyyy
