Description: fix rollup-plugin-typescript2 include patterns for picomatch >= 4
 rollup-plugin-typescript2 ships the default include list
 ['*.ts+(|x)', '**/*.ts+(|x)', '**/*.cts', '**/*.mts'], whose extglob
 alternative '( |x )' is meant to match both .ts and .tsx files. With
 picomatch >= 4 (used by @rollup/pluginutils 5 in this build environment)
 that extglob matches no file at all, so rpt2 refused to resolve and
 transpile every TypeScript source, and the relative import of a .ts file
 could not be resolved by any other plugin either:
 .
   [!] (plugin rpt2) RollupError: Could not resolve
   "./createStylingFromTheme" from "src/index.tsx"
 .
 List the TypeScript extensions explicitly instead; this is equivalent to
 the default include list and does not change what gets compiled.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-16

--- node-redux-devtools-3.13.1~git20230831.orig/packages/react-json-tree/rollup.config.mjs
+++ node-redux-devtools-3.13.1~git20230831/packages/react-json-tree/rollup.config.mjs
@@ -17,6 +17,11 @@ const config = [
     },
     plugins: [
       typescript({
+        // rpt2's default include globs use the extglob '**/*.ts+(|x)', which
+        // matches no file with picomatch >= 4 (used by @rollup/pluginutils
+        // here). List the TypeScript extensions explicitly instead, this is
+        // equivalent to the default include list.
+        include: ['**/*.ts', '**/*.tsx', '**/*.cts', '**/*.mts'],
         tsconfigOverride: { compilerOptions: { declaration: false } },
       }),
       resolve(),
@@ -41,6 +46,11 @@ const config = [
     },
     plugins: [
       typescript({
+        // rpt2's default include globs use the extglob '**/*.ts+(|x)', which
+        // matches no file with picomatch >= 4 (used by @rollup/pluginutils
+        // here). List the TypeScript extensions explicitly instead, this is
+        // equivalent to the default include list.
+        include: ['**/*.ts', '**/*.tsx', '**/*.cts', '**/*.mts'],
         tsconfigOverride: { compilerOptions: { declaration: false } },
       }),
       resolve(),
