amap
Extract inline source map to another file
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install amap 
SYNC missed versions from official npm registry.

amap

Build Status Code Climate Code Coverage npm Version JS Standard

Extract inline source map to another file

Installation

$ npm install amap --save

Usage

'use strict'

const amap = require('amap')
const co = require('co')

co(function * () {
  yield amap('ui/index.js') // index.js -> index.js + index.js.map
}).catch((err) => console.error(err))

Signature

amap(filename, options) -> Promise

Params

Name Type Description
filename string Filename to extract
options Object Optional settings
options.dest string Path to save file (which has no longer contains sourcemap)
options.map string Path to save sourcemap file

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 1
This Month 5
Last Day 1
Last Week 4
Last Month 27
Dependencies (5)
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |