Skip to content

Commit 69af3c8

Browse files
committed
resolve rollup/test issues
1 parent a103064 commit 69af3c8

File tree

8 files changed

+393
-1245
lines changed

8 files changed

+393
-1245
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"@typescript-eslint/eslint-plugin": "^4.28.3",
7070
"@typescript-eslint/parser": "^4.28.3",
7171
"babel-eslint": "^10.1.0",
72+
"babel-jest": "^26.6.3",
7273
"babel-plugin-dev-expression": "^0.2.2",
7374
"chalk": "^4.1.1",
7475
"cheerio": "^1.0.0-rc.10",

packages/react-router-dom-v5-compat/rollup.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,3 +179,10 @@ module.exports = function rollup() {
179179

180180
return [...modules, ...globals, ...node];
181181
};
182+
183+
/**
184+
* @typedef {import('rollup').InputOptions} RollupInputOptions
185+
* @typedef {import('rollup').OutputOptions} RollupOutputOptions
186+
* @typedef {import('rollup').RollupOptions} RollupOptions
187+
* @typedef {import('rollup').Plugin} RollupPlugin
188+
*/

packages/react-router-dom/rollup.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,10 @@ module.exports = function rollup() {
316316

317317
return [...modules, ...webModules, ...globals, ...node];
318318
};
319+
320+
/**
321+
* @typedef {import('rollup').InputOptions} RollupInputOptions
322+
* @typedef {import('rollup').OutputOptions} RollupOutputOptions
323+
* @typedef {import('rollup').RollupOptions} RollupOptions
324+
* @typedef {import('rollup').Plugin} RollupPlugin
325+
*/

packages/react-router-native/rollup.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,10 @@ module.exports = function rollup() {
6666

6767
return modules;
6868
};
69+
70+
/**
71+
* @typedef {import('rollup').InputOptions} RollupInputOptions
72+
* @typedef {import('rollup').OutputOptions} RollupOutputOptions
73+
* @typedef {import('rollup').RollupOptions} RollupOptions
74+
* @typedef {import('rollup').Plugin} RollupPlugin
75+
*/

packages/react-router/rollup.config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,4 +217,11 @@ module.exports = function rollup() {
217217
];
218218

219219
return [...modules, ...webModules, ...globals, ...node];
220-
};
220+
}
221+
222+
/**
223+
* @typedef {import('rollup').InputOptions} RollupInputOptions
224+
* @typedef {import('rollup').OutputOptions} RollupOutputOptions
225+
* @typedef {import('rollup').RollupOptions} RollupOptions
226+
* @typedef {import('rollup').Plugin} RollupPlugin
227+
*/

packages/router/rollup.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,10 @@ module.exports = function rollup() {
193193

194194
return [...modules, ...webModules, ...globals, ...node];
195195
};
196+
197+
/**
198+
* @typedef {import('rollup').InputOptions} RollupInputOptions
199+
* @typedef {import('rollup').OutputOptions} RollupOutputOptions
200+
* @typedef {import('rollup').RollupOptions} RollupOptions
201+
* @typedef {import('rollup').Plugin} RollupPlugin
202+
*/

0 commit comments

Comments
 (0)