File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ async function postprocess() {
5050 if ( entry . isDirectory ( ) && entry . name !== 'src' && entry . name !== 'internal' && entry . name !== 'bin' ) {
5151 const subpath = './' + entry . name ;
5252 newExports [ subpath + '/*.mjs' ] = {
53- default : [ subpath + '/*.mjs' , subpath + '/*/index.mjs' ] ,
53+ default : subpath + '/*.mjs' ,
5454 } ;
5555 newExports [ subpath + '/*.js' ] = {
56- default : [ subpath + '/*.js' , subpath + '/*/index.js' ] ,
56+ default : subpath + '/*.js' ,
5757 } ;
5858 newExports [ subpath + '/*' ] = {
59- import : [ subpath + '/*.mjs' , subpath + '/*/index.mjs' ] ,
60- require : [ subpath + '/*.js' , subpath + '/*/index.js' ] ,
59+ import : subpath + '/*.mjs' ,
60+ require : subpath + '/*.js' ,
6161 } ;
6262 } else if ( entry . isFile ( ) && / \. [ c m ] ? j s $ / . test ( entry . name ) ) {
6363 const { name, ext } = path . parse ( entry . name ) ;
You can’t perform that action at this time.
0 commit comments