Skip to content

Commit

Permalink
define ‘exports’ in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Feb 25, 2023
1 parent 0018418 commit 6d4ef40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"url": "git://github.com/sanctuary-js/sanctuary-argv.git"
},
"type": "module",
"exports": "./index.js",
"files": [
"/LICENSE",
"/README.md",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Maybe from 'sanctuary-maybe';
import show from 'sanctuary-show';
import Z from 'sanctuary-type-classes';

import {Flag, Option, Left, Right, Pair, parseArgs} from '../index.js';
import {Flag, Option, Left, Right, Pair, parseArgs} from 'sanctuary-argv';


const {Nothing, Just} = Maybe;
Expand Down

0 comments on commit 6d4ef40

Please sign in to comment.