]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
No need to use rollup commonjs plugin (#7122)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Thu, 20 Feb 2020 01:51:01 +0000 (17:51 -0800)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2020 01:51:01 +0000 (20:51 -0500)
rollup.config.js

index 9054c5657f169ce1b65574632a3491ed30909dfe..d5704321ce30cbcdb637011d0ab4ea54717b7ef5 100644 (file)
@@ -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: {