v0.1.3~0.1.6
v0.1.6
- Fly now uses your module actual default export as its
default
task. Before you needed to name your taskdefault
explicitly which is fine the CommonJS syntax:
exports.default = function* () {}
But was problematic in the ES6~ syntax since default
is a reserved word in JavaScript. Now it's also possible to do:
module.exports = function* () {}
Which is specially useful if you write your Flyfiles in the ES6/7 syntax:
export default function* () {}
v0.1.5
- Fix bug in
util.error
, where function's argumenterror
was shadowing function nameerror
. - Fix bug in
util.find/hook
that was still breaking the require hook for some type of files. Basically the problem isjsVariant
either exposes an array with dependencies that should be loaded or a string. In the case of arrays its contents could be strings or object literals with amodule
property. The following check patches this:
require(modules[0].module
? modules[0].module
: modules[0])
Note to Earl Gray users:
interpret@0.6.2
does not support earl at the moment. Please refer to this PR. Make sure to install bothearlgray
andearlgray-runtime
if you are usingFlyfile.eg
files. Seeexamples/Flyfile.eg
for an Earl Gray Flyfile example.
v0.1.4
- Fix bug in
util.find/hook
where jsVariants that expose the transformer module name using an array without amodule
property was being called causing Flyfiles in languages other than ES5/6/7 to fail.