Skip to content
This repository has been archived by the owner on Dec 31, 2017. It is now read-only.

Commit

Permalink
Fix copyOnly rule in package.js. Thanks @danielalexiuc!
Browse files Browse the repository at this point in the history
  • Loading branch information
csnover committed Aug 24, 2014
1 parent 064015e commit a0013de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var profile = {
// are typically binaries (images, etc.) and may be corrupted by the build system if it attempts to process
// them and naively assumes they are scripts.
copyOnly: function (filename, mid) {
return (/^app\/resources\//.test(filename) && !/\.css$/.test(filename));
return (/^app\/resources\//.test(mid) && !/\.css$/.test(filename));
},

// Files that are AMD modules.
Expand All @@ -40,4 +40,4 @@ var profile = {
};
}
}
};
};

0 comments on commit a0013de

Please sign in to comment.