1 | var path = require("path");
|
2 | var filesToEs5 = require("files-to-es5");
|
3 |
|
4 | if(__dirname.split(path.sep).splice(-2, 1)[0] === "node_modules"){
|
5 | filesToEs5({
|
6 | src: __dirname,
|
7 | output: __dirname,
|
8 | ignore: ["node_modules/**/*", "build.js", "dist/**/*"]
|
9 | });
|
10 | } |
\ | No newline at end of file |