We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a47bc commit 3e3eb5bCopy full SHA for 3e3eb5b
βpackage.jsonβ
@@ -26,11 +26,7 @@
26
"README.md"
27
],
28
"exports": {
29
- ".": {
30
- "import": {
31
- "default": "./build/index.js"
32
- }
33
+ ".": "./build/exports/index.js"
34
},
35
"scripts": {
36
"bootstrap": "tsx scripts/bootstrap.ts",
βsrc/index.test.tsβ renamed to βsrc/exports/index.test.tsβ
@@ -1,5 +1,5 @@
1
import { expect, test } from 'vitest'
2
-import { foo } from '../tests/helpers.js'
+import { foo } from '../../tests/helpers.js'
3
import * as Lib from './index.js'
4
5
test(`imports using paths config works relative`, () => {
βsrc/exports/index.tsβ
@@ -0,0 +1 @@
+export * from '../lib/utils.js'
βsrc/index.tsβ
0 commit comments