Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Assets

Index

Functions

assetsFileNameMaker

  • assetsFileNameMaker(scope: "scripts" | "styles"): string
  • Creates the filename for the minified final js | css file. Starts from the origin filename and adds the version from package.json and adds .min.

    Parameters

    • scope: "scripts" | "styles"

    Returns string

    filename

copyAssets

  • copyAssets(): void

copyPages

  • copyPages(lang?: string): void
  • Copys all files in the pages folder in the main out dir, respecting the hierarchies of folders. In this way all pages of the website are available in the out folder and their content can be overwritten when injecting directives.

    Parameters

    • Optional lang: string

    Returns void