diegodoumecq / joymap

A Javascript Gamepad API wrapper and mapping tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

export the library as an ES module

popoleeMaster opened this issue · comments

Hello,

I am using your nice library in my angular application.

I updated recently to angular 10, and no with the new warning setting I get a warning for this library =>

WARNING in C:\Users\Crocsx\Documents\Repository\TrjxFrontEnd\src\app\shared\components\map-gamepad-controller\map-gamepad-controller.component.ts depends on 'joymap'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Do you think it is possible to make is work with standard es export ?

Thank you