liabru / matter-js

a 2D rigid body physics engine for the web ▲● ■
MIT License
16.7k stars 1.96k forks source link

support and documentation for vitejs please :( #1260

Open moonhuntercode opened 10 months ago

moonhuntercode commented 10 months ago

I saw in your documentation that you have settings for webpack, but I don't know how to make them in Vite https://vitejs.dev/, please would your help with that be very interesting

meodai commented 9 months ago

I use vite:

import Matter from 'matter-js';

just works. What would you want be documented exactly?