We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b7f26 commit f30bbe2Copy full SHA for f30bbe2
postInstall.js
@@ -1,4 +1,8 @@
1
var fs = require('fs-extra');
2
3
-fs.copySync('./node_modules/parallax-js/dist/parallax.min.js', './src/openui5/parallax/thirdparty/parallax.min.js');
4
-fs.copySync('./node_modules/parallax-js/dist/parallax.js', './src/openui5/parallax/thirdparty/parallax.js');
+try {
+ fs.copySync('./node_modules/parallax-js/dist/parallax.min.js', './src/openui5/parallax/thirdparty/parallax.min.js');
5
+ fs.copySync('./node_modules/parallax-js/dist/parallax.js', './src/openui5/parallax/thirdparty/parallax.js');
6
+} catch (e) {
7
+ console.log("an error occured post-processing the openui5.parallax library: " + e.message);
8
+}
0 commit comments