Nearly Picked Makefiles

    flamingo-carotene-static-asset

    7.0.4 • Public • Published

    Module flamingo-carotene-static-asset

    This module provides a simple way to copy assets from the configured source to a destination folder.

    How to use

    npm i -D flamingo-carotene-static-asset

    The static asset module will listen to the following commands: build

    How it works

    The module copies all the files and directories that are found inside the given source paths to the configured destinations.

    How to configure

    This module exposes the following config

    config.staticAsset = {
       assetPaths: [
          {
            dest: '',
            src: ''
          },
          {
            dest: '',
            src: ''
          }
       ],
       basePaths: {
         dest: config.paths.dist,
         src: config.paths.src
       }
     }

    basePaths Takes root paths for a source and a destination paths

    assetPaths Lists all configured asset paths composed of source and destination paths src can be a folder or a filename.

    Install

    npm i flamingo-carotene-static-asset

    DownloadsWeekly Downloads

    30

    Version

    7.0.4

    License

    OSL-3.0

    Unpacked Size

    16.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • dmnkdmnt
    • benjamin.egner
    • yesman82