-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Open
Labels
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When building an NX Angular project am getting a warning:
> nx build app
▲ [WARNING] The glob pattern import("./**/*.entry.js*") did not match any files [empty-glob]
node_modules/.pnpm/@stencil+core@4.38.0/node_modules/@stencil/core/internal/client/index.js:169:2:
169 │ `./${bundleId}.entry.js${BUILD5.hotModuleReplacement && hmrVers...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Relevant Stencil issue: stenciljs/core#5427
According to Stencil team this has been resolved on Stencil side and needs small adjustment in Ionic:
@trakhimenok it's already in-place 😄 - ionic just need to add the
enableImportInjectionoption to their config hereThis really isn't Stencil's issue - unfortunately I can't transfer it to ionic
Expected Behavior
No WARNINGs when building with ESBUILD
Steps to Reproduce
- Create an Ionic angular project that uses esbuild (or clone https://github.com/sneat-co/sneat-apps)
- build the app
- see the warning
Code Reproduction URL
https://github.com/sneat-co/sneat-apps
Ionic Info
onic info
[WARN] You are not in an Ionic project directory. Project context may be missing.
Ionic:
Ionic CLI : 7.2.1
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v24.1.0
npm : 11.3.0
OS : macOS Unknown
Additional Information
No response
Reactions are currently unavailable