refactor: override rollup.output
This commit is contained in:
parent
86cfb65ccd
commit
8bb25bdc4a
|
@ -13,5 +13,10 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
|
||||||
return {
|
return {
|
||||||
extends: ["presetter-preset-rollup", "@lumeweb/node-library-preset"],
|
extends: ["presetter-preset-rollup", "@lumeweb/node-library-preset"],
|
||||||
supplementaryIgnores: ignores,
|
supplementaryIgnores: ignores,
|
||||||
|
supplementaryConfig: {
|
||||||
|
rollup: {
|
||||||
|
output: { file: "{output}/index.js", format: "cjs", sourcemap: true },
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue