c-frame / aframe-physics-system

community-maintained fork of n5ro's aframe-physics-system
https://c-frame.github.io/aframe-physics-system/
MIT License
43 stars 11 forks source link

Issue with npm+weback #40

Closed Roxcsas closed 1 year ago

Roxcsas commented 1 year ago

Hi, i tried to install aframe-physics-system with npm on an angular 15 project where i already have installed aframe 1.4.2 but its not getting loaded. If i try to import it i get both the errors: on the ide - "CommonJS or AMD dependencies can cause optimization bailouts." on the console browser - "Uncaught ReferenceError: arguments is not defined"

Roxcsas commented 1 year ago

It looks like i had to import the script of the dist folder in the angular.json to make it works