removing babel helpers from build
diff --git a/package.json b/package.json
index 0ffb20b..2229cde 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,7 @@
],
"devDependencies": {
"@babel/core": "^7.16.0",
+ "@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.6",
diff --git a/rollup.config.js b/rollup.config.js
index 69a9c2f..9e22d60 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -122,7 +122,8 @@
const plugins = [
nodeResolve(),
babel({
- babelHelpers: 'bundled',
+ babelHelpers: 'runtime',
+ skipPreflightCheck: true,
}),
noTreeShakingForStandalonePlugin(),
injectVersion(),
@@ -159,8 +160,6 @@
],
};
-const input = ['player/js/modules/full.js'];
-
const exports = builds.reduce((acc, build) => {
const builds = [];
builds.push({