@skylineos/videojs-clsp
Version:
Video JS plugin for Skyline Technology Solutions' CLSP Player - https://github.com/skylineos/clsp-player
30 lines (29 loc) • 894 B
JavaScript
/**
* This babel config file is the babel config necessary for the files in the
* `src` and `demos` directories. It was broken out of the `webpack.common.js`
* file so that it can be used with `jest` in the future.
*
* @see - https://babeljs.io/docs/en/config-files
* @see - https://jestjs.io/docs/en/getting-started#using-babel
* @see - https://jestjs.io/docs/en/webpack
* @see - https://webpack.js.org/loaders/babel-loader/
*/
module.exports = {
presets: [
[
'@babel/preset-env',
// @todo - is this needed? it is in clsp-player...
// {
// exclude: [
// '@babel/plugin-transform-typeof-symbol',
// ],
// },
],
],
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-private-methods',
],
};