]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove babel from tests (#7521)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Thu, 18 Jun 2020 21:38:09 +0000 (00:38 +0300)
committerGitHub <noreply@github.com>
Thu, 18 Jun 2020 21:38:09 +0000 (17:38 -0400)
* Remove babel from tests
* Remove unused require

karma.conf.js

index 0d1cfc26e19f0f02b2f25e843d741b25358da649..9ca016bd973e5b0fa8f2f9e5c1e6c080309b6f78 100644 (file)
@@ -1,6 +1,5 @@
 /* eslint-disable import/no-commonjs */
 
-const babel = require('rollup-plugin-babel');
 const commonjs = require('@rollup/plugin-commonjs');
 const json = require('@rollup/plugin-json');
 const resolve = require('@rollup/plugin-node-resolve').default;
@@ -81,7 +80,6 @@ module.exports = function(karma) {
                        plugins: [
                                json(),
                                resolve(),
-                               babel({exclude: 'node_modules/**'}), // use babel since we have ES proposal features
                                commonjs({exclude: ['src/**', 'test/**']}),
                                webWorkerLoader()
                        ],