Around 4 days ago I made a little website with some particles in the background that could interact with your mouse cursor using tsParticles.
When I tried to build/run that site today it gave me the following error:
../node_modules/tsparticles-interaction-external-connect/esm/Connector.js 101:27
Module parse failed: Unexpected token (101:27)
You may need an appropriate loader to handle this file type.
| var container = this.container,
| mouse = container.interactivity.mouse,
> events = (particle?.interactivity ?? container.actualOptions.interactivity).events;
| if (!(events.onHover.enable && mouse.position)) {
| return false;
I literally changed nothing, no code, no dependencies.