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 d55f7dd commit d7be5a8Copy full SHA for d7be5a8
scripts/pack.ts
@@ -112,8 +112,8 @@ const writePackageJsonContent = pipe(
112
if (fs.existsSync(`./build/cjs/${m}/index.js`)) {
113
map.push(`./${m}/index.js`)
114
}
115
- if (fs.existsSync(`./build/mjs/${m}/index.js`)) {
116
- map.push(`./_mjs/${m}/index.js`)
+ if (fs.existsSync(`./build/mjs/${m}/index.mjs`)) {
+ map.push(`./_mjs/${m}/index.mjs`)
117
118
return map
119
}),
0 commit comments