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

[3.6.0] Parcel bundler doesn't support <script type="module"> #3628

Closed
afbora opened this issue Aug 10, 2021 · 5 comments
Closed

[3.6.0] Parcel bundler doesn't support <script type="module"> #3628

afbora opened this issue Aug 10, 2021 · 5 comments
Labels
type: regression 🚨 Is a regression between versions
Milestone

Comments

@afbora
Copy link
Member

afbora commented Aug 10, 2021

Describe the bug

While I try to pagetable plugin on 3.6.0, I'm getting an error. I tracked down and since we started to use <script type="module"> in Panel 3.6.0 and parcel doesn't support that: parcel-bundler/parcel#2833

Console output

Uncaught TypeError: Cannot read property 'TYPED_ARRAY_SUPPORT' of undefined

Kirby Version

3.6.0

@bastianallgeier
Copy link
Member

@danburzo
Copy link
Contributor

danburzo commented Aug 6, 2023

@afbora just so I can get a mental model of how things fit together, how is Parcel involved here? Is it that Parcel can’t produce a JS file that can be loaded as an ES module inside the Kirby Panel?

@afbora
Copy link
Member Author

afbora commented Aug 7, 2023

@danburzo Sorry! @distantnative will answer your question better. Not my specialty :)

@distantnative
Copy link
Member

@afbora I'm not sure 😂 this was your issue: but yes my guess is that Parcel was used here in a plugin to generate/compile the plugin's HS file but wasn't capable to produce something the Panel would support

@danburzo
Copy link
Contributor

danburzo commented Aug 8, 2023

Thanks! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression 🚨 Is a regression between versions
Projects
None yet
Development

No branches or pull requests

4 participants