app-bundler 0.1.13 → 0.1.14
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 +6 -3
- package/lib/cli.js +6 -3
- package/package.json +1 -1
package/lib/bundler.js
CHANGED
|
@@ -11651,8 +11651,7 @@ class Bundler extends atma_utils_1.class_EventEmitter {
|
|
|
11651
11651
|
.on('changed', rebuild);
|
|
11652
11652
|
}
|
|
11653
11653
|
return build(resource)
|
|
11654
|
-
.then((result) => solution.onBuildReady(result))
|
|
11655
|
-
.then((result) => solution.runScripts('postbuild', result));
|
|
11654
|
+
.then((result) => solution.onBuildReady(result));
|
|
11656
11655
|
});
|
|
11657
11656
|
}
|
|
11658
11657
|
return solution
|
|
@@ -11673,7 +11672,11 @@ class Bundler extends atma_utils_1.class_EventEmitter {
|
|
|
11673
11672
|
.assetsManager
|
|
11674
11673
|
.flush()
|
|
11675
11674
|
.then(() => {
|
|
11676
|
-
return
|
|
11675
|
+
return solution
|
|
11676
|
+
.runScripts('postbuild')
|
|
11677
|
+
.then(() => {
|
|
11678
|
+
return Promise.resolve(solution);
|
|
11679
|
+
});
|
|
11677
11680
|
});
|
|
11678
11681
|
}
|
|
11679
11682
|
if (opts && opts.watch === true) {
|
package/lib/cli.js
CHANGED
|
@@ -11653,8 +11653,7 @@ class Bundler extends atma_utils_1.class_EventEmitter {
|
|
|
11653
11653
|
.on('changed', rebuild);
|
|
11654
11654
|
}
|
|
11655
11655
|
return build(resource)
|
|
11656
|
-
.then((result) => solution.onBuildReady(result))
|
|
11657
|
-
.then((result) => solution.runScripts('postbuild', result));
|
|
11656
|
+
.then((result) => solution.onBuildReady(result));
|
|
11658
11657
|
});
|
|
11659
11658
|
}
|
|
11660
11659
|
return solution
|
|
@@ -11675,7 +11674,11 @@ class Bundler extends atma_utils_1.class_EventEmitter {
|
|
|
11675
11674
|
.assetsManager
|
|
11676
11675
|
.flush()
|
|
11677
11676
|
.then(() => {
|
|
11678
|
-
return
|
|
11677
|
+
return solution
|
|
11678
|
+
.runScripts('postbuild')
|
|
11679
|
+
.then(() => {
|
|
11680
|
+
return Promise.resolve(solution);
|
|
11681
|
+
});
|
|
11679
11682
|
});
|
|
11680
11683
|
}
|
|
11681
11684
|
if (opts && opts.watch === true) {
|