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