Assets: Js: import java libary

Hello,

I’m building a widget for filerobot-image-editor (FIE) Js App.

FIE uses npm_module but there is also a js bridge available.

This file import additional libs:

import _typeof from"@babel/runtime/helpers/typeof";import _classCallCheck from"@babel/runtime/helpers/classCallCheck";

How do you manage this in the yii2 Asset classes???

Thank you for any help!
Toby