Skip to content

Conversation

Kinrany
Copy link

@Kinrany Kinrany commented Mar 27, 2019

Move all the require statements that don't have to be dynamic to the beginning of the files

@Kinrany
Copy link
Author

Kinrany commented Mar 27, 2019

Wait, client/lib/lighting.js depends on client/index.js, so that'll probably break something.

@monster860
Copy link
Member

yeah that too

@Kinrany
Copy link
Author

Kinrany commented Mar 28, 2019

I checked the cyclic dependencies with madge, there shouldn't be any now. Well, other than those fixed by do_resolve.

@Kinrany
Copy link
Author

Kinrany commented Mar 28, 2019

Ahh, no, just using mob/index.js won't work because everything is imported as mob.js, not just mob :s

@Kinrany
Copy link
Author

Kinrany commented Mar 28, 2019

Should work now. How do you test this stuff?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants