• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 8880025752 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 29 Apr 2024 02:13PM UTC
Files 212
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Apr 2024 02:09PM UTC coverage: 91.339% (+0.03%) from 91.306%
8880025752.1

push

github

web-flow
feat: provide development build for bundlers, warn on unadded entity (#3032)

This adds a "development" build of Excalibur that [bundlers can use](https://webpack.js.org/guides/package-exports/#providing-devtools-or-production-optimizations). It allows us to include code that can be used to help the user during development but still keep it out of production builds as to not affect performance / size. 

This requires removing the `module` field in package.json in favour of `exports`, which is OK (`exports` essentially supersedes `module`). **There is potential for breaking change** here, as any nested imports e.g. `'excalibur/dist/abc'` would now need to be added to this exports map. But I don't believe there was ever a reason to do that, since everything is exported from the excalibur.js file. (Types are not affected)

I've tested this in a Vite project and it works, haven't tested it with Webpack yet.

## Changes:

- create development builds of excalibur that bundlers can use in dev mode
- show warning in development when Entity hasn't been added to a scene after a few seconds

5464 of 6907 branches covered (79.11%)

12075 of 13220 relevant lines covered (91.34%)

24689.27 hits per line

Source Files on job 8880025752.1
  • Tree
  • List 0
  • Changed 53
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 8880025752
  • e0dc8fd2 on github
  • Prev Job for on main (#8872580142.1)
  • Next Job for on main (#8880025742.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc