From 64a5cd8defc1bdc3d3c16d856bbef4f103b07e13 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sun, 13 Jun 2021 13:58:05 +0200 Subject: [PATCH] fix(rollup): Type in config template --- config/templates/rollup.config.dflt.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/templates/rollup.config.dflt.js b/config/templates/rollup.config.dflt.js index 966763876b2..3dc79b838c8 100644 --- a/config/templates/rollup.config.dflt.js +++ b/config/templates/rollup.config.dflt.js @@ -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