Remove babel from tests (#7521)

* Remove babel from tests
* Remove unused require
This commit is contained in:
Jukka Kurkela 2020-06-19 00:38:09 +03:00 committed by GitHub
parent 2e4d623bf3
commit 99580664af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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()
],