@modern-js/server 2.5.1-alpha.0 → 2.5.1-alpha.1

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.
@@ -78,7 +78,11 @@ class DependencyTree {
78
78
  }
79
79
  shouldIgnore(path) {
80
80
  return !path || Boolean(
81
- this.ignore.find((rule) => import_minimatch.default.match([path], rule).length > 0)
81
+ this.ignore.find(
82
+ (rule) => import_minimatch.default.match([path], rule, {
83
+ dot: true
84
+ }).length > 0
85
+ )
82
86
  );
83
87
  }
84
88
  }
@@ -140,7 +140,9 @@ var DependencyTree = /*#__PURE__*/ function() {
140
140
  return !path || Boolean(this.ignore.find(function(rule) {
141
141
  return minimatch.match([
142
142
  path
143
- ], rule).length > 0;
143
+ ], rule, {
144
+ dot: true
145
+ }).length > 0;
144
146
  }));
145
147
  }
146
148
  }
@@ -49,7 +49,11 @@ class DependencyTree {
49
49
  }
50
50
  shouldIgnore(path) {
51
51
  return !path || Boolean(
52
- this.ignore.find((rule) => minimatch.match([path], rule).length > 0)
52
+ this.ignore.find(
53
+ (rule) => minimatch.match([path], rule, {
54
+ dot: true
55
+ }).length > 0
56
+ )
53
57
  );
54
58
  }
55
59
  }
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.5.1-alpha.0",
14
+ "version": "2.5.1-alpha.1",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/cjs/index.js",