quasar-ui-qcalendar icon indicating copy to clipboard operation
quasar-ui-qcalendar copied to clipboard

Change package.json module target

Open Karnith opened this issue 1 year ago • 2 comments

Update the package.json module attribute to point to the index.umd.js file so that quasar can register the extension and components.

Karnith avatar Jul 07 '22 21:07 Karnith

Looking at the index.esm.js I see there is an install function, though it it part of the index object which is then brought into the Plugin object as 'default': index. Quasar registry seem to want the install function at the root of the object, so it is unable to find it. If index.esm.js is to be used for the module attribute, adding 'install': index.install to the Plugin object in this file seems to fix the registration since the registration can find the install function.

Karnith avatar Jul 07 '22 22:07 Karnith

@hawkeye64 any chance of this making it in anytime soon? I've been skirting around calendar implementation in an app I'm working on, but would love to start playing with QCalendar once this has been merged in :heart:

SleepingRobot avatar Aug 24 '22 18:08 SleepingRobot

Changing the "module" (in package.json) from esm to umd is not the correct fix. It sounds like there is likely an issue with the esm build part. If so, then that needs to be fixed.

hawkeye64 avatar Oct 16 '22 14:10 hawkeye64