app-bundler 0.2.3 → 0.2.4
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/lib/bundler.js +2 -2
- package/lib/cli.js +2 -2
- package/package.json +1 -1
package/lib/bundler.js
CHANGED
|
@@ -3012,13 +3012,13 @@ class OutputResources {
|
|
|
3012
3012
|
this.pagesInput = {};
|
|
3013
3013
|
this.items = [];
|
|
3014
3014
|
let root = resources.pop();
|
|
3015
|
+
this.rootInput = root;
|
|
3016
|
+
this.pagesInput = (0, res_1.res_groupByPageAndBundles)(resources, this.solution.opts);
|
|
3015
3017
|
let isGlob = root.isGlob;
|
|
3016
3018
|
if (isGlob !== true) {
|
|
3017
3019
|
this.rootOutput = root.toTarget(this.solution);
|
|
3018
3020
|
this.rootOutput.content = root.content;
|
|
3019
3021
|
}
|
|
3020
|
-
this.rootInput = root;
|
|
3021
|
-
this.pagesInput = (0, res_1.res_groupByPageAndBundles)(resources, this.solution.opts);
|
|
3022
3022
|
Object.keys(this.pagesInput).forEach(page => {
|
|
3023
3023
|
Object.keys(this.pagesInput[page]).forEach(bundle => {
|
|
3024
3024
|
let resources = this.pagesInput[page][bundle];
|
package/lib/cli.js
CHANGED
|
@@ -3014,13 +3014,13 @@ class OutputResources {
|
|
|
3014
3014
|
this.pagesInput = {};
|
|
3015
3015
|
this.items = [];
|
|
3016
3016
|
let root = resources.pop();
|
|
3017
|
+
this.rootInput = root;
|
|
3018
|
+
this.pagesInput = (0, res_1.res_groupByPageAndBundles)(resources, this.solution.opts);
|
|
3017
3019
|
let isGlob = root.isGlob;
|
|
3018
3020
|
if (isGlob !== true) {
|
|
3019
3021
|
this.rootOutput = root.toTarget(this.solution);
|
|
3020
3022
|
this.rootOutput.content = root.content;
|
|
3021
3023
|
}
|
|
3022
|
-
this.rootInput = root;
|
|
3023
|
-
this.pagesInput = (0, res_1.res_groupByPageAndBundles)(resources, this.solution.opts);
|
|
3024
3024
|
Object.keys(this.pagesInput).forEach(page => {
|
|
3025
3025
|
Object.keys(this.pagesInput[page]).forEach(bundle => {
|
|
3026
3026
|
let resources = this.pagesInput[page][bundle];
|