firefly-compiler 0.5.76 → 0.5.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compiler/Builder.ff
CHANGED
|
@@ -44,7 +44,9 @@ build(
|
|
|
44
44
|
resolvedDependencies.packagePaths.each {packagePair, packagePath =>
|
|
45
45
|
resolvedDependencies.packages.get(packagePair).each {packageInfo =>
|
|
46
46
|
processNodeModules(system, jsPathFile, packagePath, packageInfo)
|
|
47
|
-
|
|
47
|
+
if(emitTarget != EmitBrowser) {
|
|
48
|
+
processIncludes(jsPathFile, packagePath, packageInfo)
|
|
49
|
+
}
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
True
|
|
@@ -147,9 +147,11 @@ const if_o = ff_core_Map.Map_get(resolvedDependencies_.packages_, packagePair_,
|
|
|
147
147
|
if(if_o.Some) {
|
|
148
148
|
const packageInfo_ = if_o.value_;
|
|
149
149
|
ff_compiler_Builder.processNodeModules_(system_, jsPathFile_, packagePath_, packageInfo_);
|
|
150
|
+
if(ff_core_Equal.notEquals_(emitTarget_, ff_compiler_JsEmitter.EmitBrowser(), ff_compiler_JsEmitter.ff_core_Equal_Equal$ff_compiler_JsEmitter_EmitTarget)) {
|
|
150
151
|
ff_compiler_Builder.processIncludes_(jsPathFile_, packagePath_, packageInfo_)
|
|
151
152
|
}
|
|
152
153
|
}
|
|
154
|
+
}
|
|
153
155
|
}), ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair);
|
|
154
156
|
return true
|
|
155
157
|
}));
|
|
@@ -429,9 +431,11 @@ const if_o = ff_core_Map.Map_get(resolvedDependencies_.packages_, packagePair_,
|
|
|
429
431
|
if(if_o.Some) {
|
|
430
432
|
const packageInfo_ = if_o.value_;
|
|
431
433
|
(await ff_compiler_Builder.processNodeModules_$(system_, jsPathFile_, packagePath_, packageInfo_, $task));
|
|
434
|
+
if(ff_core_Equal.notEquals_(emitTarget_, ff_compiler_JsEmitter.EmitBrowser(), ff_compiler_JsEmitter.ff_core_Equal_Equal$ff_compiler_JsEmitter_EmitTarget)) {
|
|
432
435
|
(await ff_compiler_Builder.processIncludes_$(jsPathFile_, packagePath_, packageInfo_, $task))
|
|
433
436
|
}
|
|
434
437
|
}
|
|
438
|
+
}
|
|
435
439
|
}), ff_compiler_Syntax.ff_core_Ordering_Order$ff_compiler_Syntax_PackagePair, $task));
|
|
436
440
|
return true
|
|
437
441
|
}), $task));
|
package/package.json
CHANGED