broccoli-source-map
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -33,3 +33,3 @@ 'use strict'; | ||
var srcCode = fs.readFileSync(srcPath, {encoding: 'utf-8'}); | ||
self.processCode(srcCode, srcDir, destPath, relativePath); | ||
self.processCode(srcCode, path.dirname(srcPath), destPath, relativePath); | ||
} | ||
@@ -36,0 +36,0 @@ })); |
{ | ||
"name": "broccoli-source-map", | ||
"description": "A Broccoli plugin for inlining or extracting sourcemaps", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"author": "Greg V <greg@unrelenting.technology>", | ||
@@ -6,0 +6,0 @@ "engines": { |
# broccoli-source-map [![npm version](https://img.shields.io/npm/v/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![npm downloads](https://img.shields.io/npm/dm/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![Build Status](https://img.shields.io/travis/myfreeweb/broccoli-source-map.svg?style=flat)](https://travis-ci.org/myfreeweb/broccoli-source-map) [![Dependency Status](https://img.shields.io/gemnasium/myfreeweb/broccoli-source-map.svg?style=flat)](https://gemnasium.com/myfreeweb/broccoli-source-map) [![Unlicense](https://img.shields.io/badge/un-license-green.svg?style=flat)](http://unlicense.org) | ||
A [Broccoli] plugin for inlining or extracting [JavaScript source maps] using [convert-source-map]. | ||
A [Broccoli] plugin for inlining or extracting [JavaScript and CSS source maps] using [convert-source-map]. | ||
@@ -5,0 +5,0 @@ [Broccoli]: https://github.com/broccolijs/broccoli |
11286