excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.82k stars 188 forks source link

Issue when upgrading the shootemup to v0.25.0 #2158

Closed eonarheim closed 2 years ago

eonarheim commented 2 years ago

Proposal

Research alternative and/or additional distribution strategies to smooth over this experience

@kamranayub has some good thoughts on this https://github.com/excaliburjs/Excalibur/discussions/2156#discussioncomment-1809721

Steps to Reproduce

Upgrading the shootemup to v0.25.0 yields a confusing error in the console.

webpack error Uncaught TypeError: __webpack_require__.r is not a function

Expected Result

Ideally this experience with webpack (and other bundlers) should be smoother for people not familiar with them.

Actual Result

Confusing errors, need to

Environment

Current Workaround

Reference the webpack template (or other bundler templates) https://github.com/excaliburjs/template-ts-webpack

eonarheim commented 2 years ago

Shootemup is upgraded to latest excalibur