-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Feature Request
Is your feature request related to a problem? Please describe.
When running the libary on Nodejs with ESM syntax the relative import paths need explicit file extensions in ECMAScript imports.
Describe the solution you'd like
Add ".js" to the local import.
'./Util/MapboxStyleUtil' >>> './Util/MapboxStyleUtil.js'
Additional context
Loadash is not ESM so the syntax needed is also something like
import lodash from 'lodash'; const { invert } = lodash;
Guillaume351 and lhapaipai
Metadata
Metadata
Assignees
Labels
No labels