1
0
Fork 0

fix(rollup): Type in config template

This commit is contained in:
Joost De Cock 2021-06-13 14:16:38 +02:00
parent e0e2d589a0
commit fb908276b5
65 changed files with 130 additions and 130 deletions

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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