mirror of
https://github.com/videojs/video.js.git
synced 2024-11-30 09:06:49 +02:00
313036e132
Use npx babel-upgrade --write --install to initiate the upgrade. Then update grunt and rollup. Decreases minified, gzipped filesize by about 1KB. Decreases build times by a few minutes.
8 lines
202 B
JavaScript
8 lines
202 B
JavaScript
require('@babel/register');
|
|
|
|
// Need to `require` a separate Grunt file so we can use ES6 syntax via
|
|
// Babel's require hook.
|
|
module.exports = function(grunt) {
|
|
require('./build/grunt.js')(grunt);
|
|
};
|