Kurtz1993 / ionic-minify

Cordova hook that minifies JS and CSS files.
MIT License
37 stars 10 forks source link

ionic dir #4

Closed normalser closed 9 years ago

normalser commented 9 years ago

Hi

I have my project in /projects/ionic/myproject

Seems like this line of code will cause that nothing will be processed:

if (dir.indexOf('ionic') === -1) {
        fs.stat(file, function (err, stat) {
          if (stat.isDirectory()) {
            processFiles(file);
          } else {
            compress(file);
          }
        });
      }
Kurtz1993 commented 9 years ago

Thank you for your feedback, I'm currently working in an update to fix this issue. Ionic-minify should only ignore those files of the ionic library.