Permalink
Browse files

Test by Mod.js

  • Loading branch information...
1 parent e93a0f9 commit 140c44ec9a95bcba59602b1e3df742736036ea01 @yuanyan committed Nov 25, 2013
Showing with 23 additions and 0 deletions.
  1. +23 −0 test/Modfile
  2. BIN test/test.jpg
  3. BIN test/test.png
View
@@ -0,0 +1,23 @@
+// A sample Modfile
+// More info at https://github.com/modulejs/modjs/
+
+module.exports = {
+ plugins: {
+ "optimage": "../index.js"
+ },
+ tasks: {
+ "optimage": {
+ jpg:{
+ src: "./test.jpg",
+ dest: "./test.min.jpg"
+ },
+ png: {
+ src: "./test.png",
+ dest: "./test.min.png"
+ }
+ }
+ },
+ targets: {
+ default: "optimage"
+ }
+};
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 140c44e

Please sign in to comment.