I have a project in typescript / Webpack that is working fine. I am now trying to create a component
that uses openlayers 5 and unfortunately the types for that library are broken at this point and there
is little documentation so I decided just to use ESNext for that component.
However, I am getting the error
Module parse failed: Unexpected character ‘@’ (40:0)
You may need an appropriate loader to handle this file type.
Do I need todo something to the webpack config to allow ESNext js ?