mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
build: switch to bundler moduleResolution
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { expectType } from 'tsd';
|
||||
import type { Equatable } from '../../dist';
|
||||
import type { Equatable } from '../../dist/index.js';
|
||||
import { isEquatable } from '../../src/index.js';
|
||||
|
||||
declare const unknownObj: unknown;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { expectType } from 'tsd';
|
||||
import type { JSONEncodable } from '../../dist';
|
||||
import type { JSONEncodable } from '../../dist/index.js';
|
||||
import { isJSONEncodable } from '../../src/index.js';
|
||||
|
||||
declare const unknownObj: unknown;
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
"require": "./dist/index.js"
|
||||
},
|
||||
"directories": {
|
||||
"lib": "src"
|
||||
|
||||
Reference in New Issue
Block a user