diff --git a/src/index.ts b/src/index.ts index 77ddf0a..3ddae6b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,5 +13,10 @@ export default async function (context: PresetContext): Promise { return { extends: ["presetter-preset-rollup", "@lumeweb/node-library-preset"], supplementaryIgnores: ignores, + supplementaryConfig: { + rollup: { + output: { file: "{output}/index.js", format: "cjs", sourcemap: true }, + }, + }, }; }