Skip to content

Commit

Permalink
fix: remove generic package export
Browse files Browse the repository at this point in the history
I got the following error with nuxt:
```
[DEP0166] DeprecationWarning: Use of deprecated double slash resolving ".//index.mjs" for module request ".//index.mjs" matched to "./*" in the "exports" field module resolution of the package at D:\Programming\JabRefOnline\node_modules\@VUE\apollo-composable\package.json
```
(I think this is windows specific)

This is fixed by removing the generic `./*` export field.
  • Loading branch information
tobiasdiez authored Jul 28, 2024
1 parent 6fa46ab commit 8badca9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/vue-apollo-composable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./*": "./*"
}
},
"files": [
"dist"
Expand Down

0 comments on commit 8badca9

Please sign in to comment.