fix(rollup): Type in config template
This commit is contained in:
parent
95d34ac425
commit
64a5cd8def
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue