Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sandstone991 committed Feb 18, 2024
1 parent 85c132d commit 61061e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mobbing-query",
"description": "A very tiny wrapper around tanstack/query-core to provide observable queries inside mobx",
"author": "Ahmed Azzam",
"version": "0.0.9",
"version": "0.0.10",
"repository": {
"type": "git",
"url": "https://github.com/sandstone991/MobQ"
Expand Down Expand Up @@ -63,5 +63,9 @@
"dependencies": {
"@tanstack/query-core": "^5.20.5",
"mobx": "^6.12.0"
},
"peerDependencies": {
"mobx": "^6.0.0",
"@tanstack/query-core": "^5.0.0"
}
}
9 changes: 2 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,8 @@ module.exports = defineConfig({
fileName: format => fileName[format],
},
rollupOptions: {
external: ["mobx", "@tanstack/query-core"],
output: {
globals: {
mobx: "mobx",
"@tanstack/query-core": "TanstackQueryCore",
},
},
external: Object.keys(packageJson.dependencies || {}),

},
},
test: {},
Expand Down

0 comments on commit 61061e6

Please sign in to comment.