Description: pass explicit include patterns to rollup-plugin-typescript
 The bundled rollup-plugin-typescript 1.0.1 uses extglob patterns like
 `*.ts+(|x)` in its default include list, which are no longer supported
 by the current rollup-pluginutils createFilter. As a result no .ts file
 matches the filter, the transform returns null and rollup chokes on
 the raw TypeScript syntax. Override the include option with plain
 globs so TS/TSX files get transpiled again.
Author: Xavier Guimard <yadd@debian.org>
Origin: Debian/Ubuntu, http://archive.ubuntu.com/ubuntu/pool/universe/n/node-miragejs/
Forwarded: not-needed
Last-Update: 2026-04-19

--- node-miragejs-0.1.46+~cs5.6.11.orig/pretender/rollup.config.js
+++ node-miragejs-0.1.46+~cs5.6.11/pretender/rollup.config.js
@@ -4,6 +4,8 @@ const typescript = require("rollup-plugi
 const { readFileSync } = require("fs");
 const pkg = require("./package.json");
 
+const tsInclude = ["*.ts", "**/*.ts", "*.tsx", "**/*.tsx"];
+
 const globals = {
   "fake-xml-http-request": "FakeXMLHttpRequest",
   "route-recognizer": "RouteRecognizer",
@@ -33,7 +35,7 @@ module.exports = [
     ],
     plugins: [commonjs(), nodeResolve({
         modulePaths: ['/usr/share/nodejs','/usr/lib/nodejs','node_modules']
-    }), typescript()],
+    }), typescript({ include: tsInclude })],
   },
   {
     input: "src/index.ts",
@@ -46,6 +48,6 @@ module.exports = [
     ],
     plugins: [commonjs(), nodeResolve({
         modulePaths: ['/usr/share/nodejs','/usr/lib/nodejs','node_modules']
-    }), typescript()],
+    }), typescript({ include: tsInclude })],
   },
 ];
