Skip to content

Commit f3c0ce7

Browse files
committed
fix: prevent bundlers from removing side effects
1 parent 64ee0b2 commit f3c0ce7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"unpkg": "dist/react-query.development.js",
1515
"types": "types/index.d.ts",
1616
"module": "es/index.js",
17-
"sideEffects": false,
1817
"scripts": {
1918
"test": "is-ci \"test:ci\" \"test:dev\"",
2019
"test:dev": "npm run test:types && npm run test:eslint && jest --watch",

src/core/queryCache.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,6 @@ export class QueryCache {
378378
return query.fetch(undefined, resolvedConfig)
379379
}
380380

381-
/**
382-
* @deprecated
383-
*/
384381
// Parameter syntax with optional prefetch options
385382
prefetchQuery<TResult = unknown, TError = unknown>(
386383
queryKey: QueryKey,

0 commit comments

Comments
 (0)