mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore(exports): allow imports of specific paths (#6367)
This commit is contained in:
@@ -10,8 +10,11 @@
|
||||
"typings"
|
||||
],
|
||||
"exports": {
|
||||
"require": "./src/index.js",
|
||||
"import": "./src/index.mjs"
|
||||
"./*": "./*",
|
||||
".": {
|
||||
"require": "./src/index.js",
|
||||
"import": "./src/index.mjs"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "npm run lint && npm run docs:test && npm run lint:typings",
|
||||
|
||||
Reference in New Issue
Block a user