6.1.1 • Published 4 years ago
pon-task-es v6.1.1
pon-task-es
Compile Javascript with es
Installation
$ npm install pon-task-es --save
Usage
'use strict'
const pon = require('pon')
const ponTaskEs = require('pon-task-es')
;(async () => {
let run = pon({
'js:compile': ponTaskEs(
'client/src',
'client/shim'
)
})
run('js:compile')
}).catch((err) => console.error(err))
Signatures
define(srcDir, destDir, options) -> function
Define task
Param | type | Description |
---|---|---|
srcDir | string | Source directory name |
destDir | string | Destination directory name |
options | Object | Optional settings |
options.pattern | string|string[] | File name pattern |
options.presets | string[] | Babel preset names |
options.plugins | string[] | Babel plugin names |
options.watchTargets | string[] | Additional watch target filenames |
options.watchDelay | number | Delay after watch |
License
This software is released under the Apache-2.0 License.
Links
6.1.1
4 years ago
6.1.0
4 years ago
6.0.7
4 years ago
6.0.6
4 years ago
6.0.5
4 years ago
6.0.4
4 years ago
6.0.3
5 years ago
6.0.2
5 years ago
6.0.0
5 years ago
6.0.1
5 years ago
5.0.8
6 years ago
5.0.6
6 years ago
5.0.4
6 years ago
5.0.3
6 years ago
5.0.2
6 years ago
5.0.1
6 years ago
4.2.5
6 years ago
4.2.4
6 years ago
4.2.2
6 years ago
4.2.1
6 years ago
4.2.0
6 years ago
4.1.6
6 years ago
4.1.5
6 years ago
4.1.4
6 years ago
4.1.3
6 years ago
4.1.2
6 years ago
4.1.1
6 years ago
4.0.3
6 years ago
4.0.2
6 years ago
4.0.1
6 years ago
3.2.1
6 years ago
3.1.1
7 years ago
3.0.3
7 years ago
1.0.0
7 years ago