Skip to content
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

Allow importing prebuilt bundle in ES6 ESM #5887

Open
2 tasks done
DarkNami opened this issue Oct 7, 2020 · 0 comments
Open
2 tasks done

Allow importing prebuilt bundle in ES6 ESM #5887

DarkNami opened this issue Oct 7, 2020 · 0 comments

Comments

@DarkNami
Copy link

DarkNami commented Oct 7, 2020

Checklist

Please mark these items with an [x]

  • I've already searched through existing tickets
  • Other people will find this feature useful

Feature Description

I want to import (use) Fullcalendar on browser directly (without bundler) but it does not work.
Because variable 'Fullcalendar' is not declared in 'window' object, I can not access 'Fullcalendar' object from main scope.

I want to create a PR but it is too hard for me. So I feedback a little suggestion:

Declare <script> version 'Fullcalendar' in 'window' object:

圖片

Developers can import it and use it on browser directly:

圖片

Thank you.

Ref:

@acerix acerix changed the title Fullcalendar (<script> version) does not work with ES6 ESM 'import' Allow importing prebuilt bundle in ES6 ESM Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants