milkee 2.3.1 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,8 +49,11 @@ executeCopy = function(config) {
49
49
  }
50
50
  results.push(copyNonCoffeeFiles(srcItemPath, destItemPath));
51
51
  } else {
52
- // Skip .coffee files
53
- if (!item.endsWith('.coffee')) {
52
+ // Skip .coffee and .litcoffee files
53
+ if (/\.coffee$|\.litcoffee$/i.test(item)) {
54
+ // Skip
55
+ results.push(null);
56
+ } else {
54
57
  // Create parent directory if needed
55
58
  parentDir = path.dirname(destItemPath);
56
59
  if (!fs.existsSync(parentDir)) {
@@ -60,8 +63,6 @@ executeCopy = function(config) {
60
63
  }
61
64
  // Copy file
62
65
  results.push(fs.copyFileSync(srcItemPath, destItemPath));
63
- } else {
64
- results.push(void 0);
65
66
  }
66
67
  }
67
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.cjs",
5
5
  "main": "dist/main.js",
6
6
  "bin": {