File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ async function postprocess() {
50
50
if ( entry . isDirectory ( ) && entry . name !== 'src' && entry . name !== 'internal' && entry . name !== 'bin' ) {
51
51
const subpath = './' + entry . name ;
52
52
newExports [ subpath + '/*.mjs' ] = {
53
- default : [ subpath + '/*.mjs' , subpath + '/*/index.mjs' ] ,
53
+ default : subpath + '/*.mjs' ,
54
54
} ;
55
55
newExports [ subpath + '/*.js' ] = {
56
- default : [ subpath + '/*.js' , subpath + '/*/index.js' ] ,
56
+ default : subpath + '/*.js' ,
57
57
} ;
58
58
newExports [ subpath + '/*' ] = {
59
- import : [ subpath + '/*.mjs' , subpath + '/*/index.mjs' ] ,
60
- require : [ subpath + '/*.js' , subpath + '/*/index.js' ] ,
59
+ import : subpath + '/*.mjs' ,
60
+ require : subpath + '/*.js' ,
61
61
} ;
62
62
} else if ( entry . isFile ( ) && / \. [ c m ] ? j s $ / . test ( entry . name ) ) {
63
63
const { name, ext } = path . parse ( entry . name ) ;
You can’t perform that action at this time.
0 commit comments