jvandemo / jvandemo/generator-angular2-library
import { Map } from 'leaflet'; becomes import { Map } from 'leaflet/index'; which is wrong
Open
- Dominant language
- JavaScript
- Stars
- 740
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Other imports work just fine, but when the the lib is built, the import calls from the source code undergoes the change in the title. This then results in an error when using the library, because it can't resolve how to import from 'leaflet/index' (since it doesn't exist). Any way to fix this for now?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.