silphius/app/server/pixi-context.js
2024-07-21 11:04:18 -05:00

9 lines
149 B
JavaScript

import {settings} from '@pixi/core';
settings.ADAPTER = {
...settings.ADAPTER,
createCanvas: () => ({
getContext: () => undefined,
}),
};