diff --git a/rollup.config.js b/rollup.config.js index b791c88eb..f947d51c8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -106,7 +106,7 @@ const entrypointTargets = entrypoints.map((file) => { const typeTargets = entrypoints .filter((file) => file.endsWith('.es.ts')) .map((file) => { - const source = `./lib/entrypoints/${file.replace('.ts', '.d.ts')}` + const source = `./lib/src/entrypoints/${file.replace('.ts', '.d.ts')}` /** @type {import('rollup').RollupOptions} */ return { input: source, diff --git a/tsconfig.json b/tsconfig.json index ccc976cd8..07e5b9c4c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "rootDir": "./src", "outDir": "./lib", "target": "ES5", "lib": ["dom", "dom.iterable", "esnext"],