diff options
author | Max <max@nextcloud.com> | 2022-02-24 11:00:41 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-01 12:29:15 +0300 |
commit | 031c206467c699866669ae470d57e0a2e4109859 (patch) | |
tree | ae17c26f74bd2e74daeb78721b870bf386cf2587 /src | |
parent | ba20dac6e98b3ced5921e33cab71193991a87506 (diff) |
update: replace the deprecated @babel/polyfill
Importing `core-js/stable` as recommended by
https://babeljs.io/docs/en/babel-polyfill
It is also not listed in our package.json.
So far it was provided as a dependency of `emoji-mart-vue-fast`
via `@nextcloud/vue`.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/setup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/setup.js b/src/tests/setup.js index a26ec8bcd..c458aada9 100644 --- a/src/tests/setup.js +++ b/src/tests/setup.js @@ -19,7 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -import '@babel/polyfill'; +import 'core-js/stable'; import 'regenerator-runtime/runtime'; import Vue from 'vue' |