From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Thu, 20 Feb 2020 01:51:01 +0000 (-0800) Subject: No need to use rollup commonjs plugin (#7122) X-Git-Tag: v3.0.0-alpha~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28e03946a18557f37390f8f919c056863629dc3a;p=thirdparty%2FChart.js.git No need to use rollup commonjs plugin (#7122) --- diff --git a/rollup.config.js b/rollup.config.js index 9054c5657..d5704321c 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,7 +1,6 @@ /* eslint-disable import/no-commonjs */ /* eslint-env es6 */ -const commonjs = require('rollup-plugin-commonjs'); const resolve = require('rollup-plugin-node-resolve'); const babel = require('rollup-plugin-babel'); const cleanup = require('rollup-plugin-cleanup'); @@ -26,7 +25,6 @@ module.exports = [ input, plugins: [ resolve(), - commonjs(), babel(), optional({ include: ['moment'] @@ -53,7 +51,6 @@ module.exports = [ input, plugins: [ resolve(), - commonjs(), babel(), optional({ include: ['moment'] @@ -85,7 +82,6 @@ module.exports = [ input, plugins: [ resolve(), - commonjs(), babel(), cleanup({ sourcemap: true @@ -109,7 +105,6 @@ module.exports = [ input, plugins: [ resolve(), - commonjs(), babel(), terser({ output: {