-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix warnings during the "Bundling to UMD" #54
Conversation
projects/knora-ui/ng-package.json
Outdated
"ngx-color-picker": "ngxColorPicker", | ||
"jdnconvertiblecalendar": "jdnconvertiblecalendar", | ||
"jdnconvertiblecalendardateadapter": "jdnconvertiblecalendardateadapter", | ||
"jdnconvertiblecalendar/dist/src/JDNConvertibleCalendar": "JDNConvertibleCalendar" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why there is jdnconvertiblecalendar
and JDNConvertibleCalendar
. jdnconvertiblecalendar/dist/src/JDNConvertibleCalendar
seems odd. Maybe I did something wrong in https://github.com/dhlab-basel/JDNConvertibleCalendar, I will check this.
I found the problem: The imports have to be changed to ( import {CalendarDate, CalendarPeriod, GregorianCalendarDate} from 'jdnconvertiblecalendar'; and then becomes obsolete. |
I wonder if we have to do something about
I found angular/angular#21280 which you have already mentioned :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
I tried the solution with |
I think it's not a real problem. |
probably it's just some imports that are still in the JavaScript code that's generated from the TypeScript source, but in JavaScript these classes are not used since the refer to TypeScript constructs |
so this PR is good to go :-) |
It resolves the following warnings during the project build:
closes #49
YouTrack issue: https://dasch.myjetbrains.com/youtrack/issue/DSP-51