From 5aeccb36449a1230e421723cd2d3bd3db31d5efa Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Wed, 25 Aug 2021 17:22:21 +0200 Subject: [PATCH] chore: Linter changes --- config/templates/rollup.config.dflt.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/config/templates/rollup.config.dflt.js b/config/templates/rollup.config.dflt.js index 3dc79b838c8..83bc5ef0eec 100644 --- a/config/templates/rollup.config.dflt.js +++ b/config/templates/rollup.config.dflt.js @@ -12,23 +12,18 @@ const output = [ format: 'cjs', sourcemap: true, exports: rollup.exports, - } + }, ] if (typeof module !== 'undefined') output.push({ banner, file: module, format: 'es', - sourcemap: true + sourcemap: true, }) export default { input: 'src/index.js', output, - plugins: [ - peerDepsExternal(), - resolve({ modulesOnly: true }), - commonjs(), - json(), - ] + plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()], }