Comparing version 0.7.0 to 0.7.1
@@ -9,2 +9,3 @@ <div align="center"> | ||
+ [v0.7.1](#v071) | ||
+ [v0.7.0](#v070) | ||
@@ -42,2 +43,16 @@ + [v0.6.0](#v060) | ||
+ Objects that return objects with transformed data support any of the following forms: | ||
```js | ||
{ css, map, ext } | ||
// or | ||
{ js, map, ext } | ||
// or | ||
{ code, map, ext } | ||
// or | ||
{ data, map, ext } | ||
``` | ||
## v0.7.0 | ||
+ :trophy: Handle sourcemaps [#60](https://github.com/flyjs/fly/issues/60) | ||
@@ -44,0 +59,0 @@ |
@@ -433,3 +433,3 @@ "use strict"; | ||
_loop = _regeneratorRuntime.mark(function callee$3$0() { | ||
var glob, file, _parse, base, ext, data, concat, filter, result, dir; | ||
var glob, file, _parse, base, ext, data, concat, filter, res, dir; | ||
@@ -484,8 +484,8 @@ return _regeneratorRuntime.wrap(function callee$3$0$(context$4$0) { | ||
case 27: | ||
result = context$4$0.sent; | ||
res = context$4$0.sent; | ||
data = result.code || result.css || result.data || result || data; | ||
ext = result.ext || ext; | ||
if (result.map) { | ||
concat.add("" + base, data, result.map); | ||
data = res.code || res.js || res.css || res.data || res || data; | ||
ext = res.ext || ext; | ||
if (res.map) { | ||
concat.add("" + base, data, res.map); | ||
if (ext === ".css") data += "\n/*# sourceMappingURL=" + base + ".map*/\n"; | ||
@@ -492,0 +492,0 @@ if (ext === ".js") data += "\n//# sourceMappingURL=" + base + ".map\n"; |
{ | ||
"name": "fly", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Modern Build System", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64428