1
0
Fork 0

fix(rollup): Type in config template

This commit is contained in:
Joost De Cock 2021-06-13 13:58:05 +02:00
parent 95d34ac425
commit 64a5cd8def

View file

@ -7,7 +7,7 @@ import { name, version, description, author, license, main, module, rollup } fro
const banner = `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
const output = [
{
banner
banner,
file: main,
format: 'cjs',
sourcemap: true,
@ -16,7 +16,7 @@ const output = [
]
if (typeof module !== 'undefined')
output.push({
banner
banner,
file: module,
format: 'es',
sourcemap: true