Skip to content

fix(*): resolve ESM import issue with @stencil/core and bump packages#2

Merged
christian-bromann merged 1 commit intostencil-community:mainfrom
timurzholudev:main
May 16, 2025
Merged

fix(*): resolve ESM import issue with @stencil/core and bump packages#2
christian-bromann merged 1 commit intostencil-community:mainfrom
timurzholudev:main

Conversation

@timurzholudev
Copy link
Copy Markdown
Contributor

Summary

This PR resolves two issues encountered while running the playground:

  • Failed to resolve "@stencil/core/compiler/stencil.js". This package is ESM only but it was tried to load by 'require'. See https://vite.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]
  • No overload matches this call.The last overload gave the following error.Type 'Plugin<any> | Plugin<any>[]' is not assignable to type 'PluginOption'.Type 'Plugin<any>' is not assignable to type 'PluginOption'.Type

Changes Made

  • Fix imports
  • Bump packages to match unplugin to tackle type mismatch errors

Testing

  • Verify through build and visual test
  • Ensured tests are passing.

Copy link
Copy Markdown
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 👍

@christian-bromann christian-bromann merged commit 483792e into stencil-community:main May 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants