Esri / arcgis-webpack-plugin

Webpack plugin for the ArcGIS API for JavaScript
Apache License 2.0
134 stars 26 forks source link

Fail to import specific esri module #75

Closed Dobkin closed 4 years ago

Dobkin commented 4 years ago

When we use the following: import Converter from “esri/geometry/coordinateFormater”

Converter is undefined on runtime.

Just to be clear, other imports of esri modules work properly.

What can cause this problem? Thanks in advance

Biboba commented 4 years ago

I believe it is the same issue as #64.

import * as Converter from 'esri/geometry/coordinateFormater'
Dobkin commented 4 years ago

Yes, it works. Thank you!

kirk-clawson commented 4 years ago

I'd like to see esri address the inconsistencies here, since import geometryEngine from 'esri/geometry/geometryEngine'; works just fine.