Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Assets\ScriptsParser

Index

Functions

callWebPack

  • callWebPack(): void
  • Calls webpack after having created the name for the final file and having retrieved the configuration. Executed asynchronously without wait as this process can rpoceed separately from others. Logs done on its own when has finished.

    Returns void

createJsFolder

  • createJsFolder(): void

defaultWebpackConfigMaker

  • defaultWebpackConfigMaker(file: string, path: string, filename: string): Configuration
  • Defaults webpack config maker: receives the paths to the scripts entry file and the out folder and produces the final minified js dile

    Parameters

    • file: string

      the path to the entry scripts file

    • path: string

      the out path

    • filename: string

      the filename of the final js minified file

    Returns Configuration

    webpack configuration to be passed to webpack

scriptsParser

  • scriptsParser(): void