ts-checker-rspack-plugin 1.1.3 → 1.1.4
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.
|
@@ -13,7 +13,7 @@ const infrastructure_logger_1 = require("../infrastructure-logger");
|
|
|
13
13
|
const is_inside_another_path_1 = require("../utils/path/is-inside-another-path");
|
|
14
14
|
const BUILTIN_IGNORED_DIRS = ['.git'];
|
|
15
15
|
function createIsIgnored(ignored, excluded) {
|
|
16
|
-
const ignoredPatterns = ignored ? (Array.isArray(ignored) ? ignored : [ignored]) : [];
|
|
16
|
+
const ignoredPatterns = ignored ? (Array.isArray(ignored) ? [...ignored] : [ignored]) : [];
|
|
17
17
|
const filteredExcluded = excluded.filter((pattern) => {
|
|
18
18
|
// Use `minimatch` to check if the path is a glob pattern.
|
|
19
19
|
if ((0, is_glob_1.default)(pattern)) {
|