I want to use this library with react-player library.
At this official example,this package works fine. You can see demo
In my application it throws loaders error.
./node_modules/screenfull/index.js 105:54
Module parse failed: Unexpected token (105:54)
File was processed with these loaders:
./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| element: {
| enumerable: true,
get: () => document[nativeAPI.fullscreenElement] ?? undefined
| },
| isEnabled: {
hi,
I want to use this library with react-player library.
At this official example,this package works fine. You can see demo
In my application it throws loaders error.
package.json
Thanks for the help