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.
exports
1 parent 1aae1da commit 38c60c1Copy full SHA for 38c60c1
package.json
@@ -23,8 +23,7 @@
23
],
24
"sideEffects": false,
25
"type": "module",
26
- "main": "index.js",
27
- "types": "index.d.ts",
+ "exports": "./index.js",
28
"files": [
29
"lib/",
30
"index.d.ts",
test/index.js
@@ -33,7 +33,7 @@ test('args', async function (t) {
33
.trimEnd()
34
35
await t.test('should expose the public api', async function () {
36
- assert.deepEqual(Object.keys(await import('../index.js')).sort(), ['args'])
+ assert.deepEqual(Object.keys(await import('unified-args')).sort(), ['args'])
37
})
38
39
await t.test('should fail on missing files', async function () {
0 commit comments