diff --git a/src/check-project/manifests/typescript.js b/src/check-project/manifests/typescript.js index b050ca11a..aa482fe76 100644 --- a/src/check-project/manifests/typescript.js +++ b/src/check-project/manifests/typescript.js @@ -41,7 +41,7 @@ export async function typescriptManifest (context) { '.': { types: './dist/src/index.d.ts', import: './dist/src/index.js', - 'module-sync': './src/index.js' + 'module-sync': './dist/src/index.js' } }, manifest.exports) ), diff --git a/src/check-project/manifests/untyped-esm.js b/src/check-project/manifests/untyped-esm.js index 66984e958..9eb6143b2 100644 --- a/src/check-project/manifests/untyped-esm.js +++ b/src/check-project/manifests/untyped-esm.js @@ -38,7 +38,7 @@ export async function untypedESMManifest (context) { exports: sortExportsMap( merge({ '.': { - import: './dist/src/index.js', + import: './src/index.js', 'module-sync': './src/index.js' } }, manifest.exports)