3.0.1 • Published 4 years ago

pon-task-map v3.0.1

Weekly downloads
312
License
Apache-2.0
Repository
github
Last release
4 years ago

pon-task-map

Build Status npm Version JS Standard

Pon task to extract map files

Installation

$ npm install pon-task-map --save

Usage

'use strict'

const pon = require('pon')
const map = require('pon-task-map')

async function tryExample () {
  let run = pon({
    'ui:map': map('public/js', 'public/js', {
      pattern: '*.js'
    })
  })

  run('ui:map')
}

tryExample()

Signatures

define(srcDir, destDir, options) -> function

Define task

ParamtypeDescription
srcDirstringSource directory name
destDirstringDestination directory name
options.patternstring|string[]File name pattern
optionsObjectOptional settings
options.watchDelaynumberDelay after watch

License

This software is released under the Apache-2.0 License.

Links

3.0.1

4 years ago

3.0.0

4 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.0.3

6 years ago

2.0.2

7 years ago

2.0.1

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago