Skip to content

Commit f30bbe2

Browse files
committed
add dist folder
1 parent 84b7f26 commit f30bbe2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

postInstall.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
var fs = require('fs-extra');
22

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');
3+
try {
4+
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

Comments
 (0)