I would to bundle images into textures using Webpack, without loading them at runtime. I can't do it like the attached. Any recommendations? In vanilla js you can do it like this with the draw image api on canvas 2D: https://github.com/QuantumInformation/youtube-space-invaders/blob/master/src/gameObjects/Player.ts#L78 https://github.com/QuantumInformation/youtube-space-invaders/blob/master/src/gameObjects/Player.ts#L28