@ud-angular-builders/timestamp-7

7.6.2 • Public • Published

Timestamp builder for Angular build facade

@ud-angular-builders/timestamp-7

Fork from angular-builders. Only @ud-angular-builders/custom-webpack has been enhanced for now.

This branch is compatible with Angular 7 and not Angular 8. Please, refer to @ud-angular-builders/timestamp for Angular 8.

This builder is an example from the Medium article Angular CLI 6 under the hood — builders demystified.

Usage

  1. In the root of your Angular application:

    npm i -D @angular-builders/timestamp
    
  2. In your angular.json add the following to architect section of the relevant project:

    "timestamp": {
      "builder": "@angular-builders/timestamp:file",
      "options": {}
    },
    
  3. Run: ng run [relevant-project]:timestamp Where [relevant-project] is the project to which you've added the target

Options

  • path - path to the file with timestamp, defaults to ./timestamp
  • format - timestamp date format, defaults to dd/mm/yyyy

Readme

Keywords

none

Package Sidebar

Install

npm i @ud-angular-builders/timestamp-7

Weekly Downloads

20

Version

7.6.2

License

MIT

Unpacked Size

275 kB

Total Files

40

Last publish

Collaborators

  • milottit