Bijoujs / Bijou.js

Bijou.js: Useful JavaScript snippets in one simple library
https://bijou.js.org
GNU General Public License v3.0
32 stars 8 forks source link

🤦🏻 [CRITICAL] Bijou throws error in node.js #73

Closed Explosion-Scratch closed 3 years ago

Explosion-Scratch commented 3 years ago
SyntaxError: Unexpected token export

What do we do.

ghost commented 3 years ago
SyntaxError: Unexpected token export

What do we do.

it ain't the end of the world, but we should try er......setting up a node.js workflow and retry? idk my mind is blank

GrahamSH-LLK commented 3 years ago
SyntaxError: Unexpected token export

What do we do.

it ain't the end of the world, but we should try er......setting up a node.js workflow and retry? idk my mind is blank

What?!? That makes no sense

Explosion-Scratch commented 3 years ago

Idkidkidk

ghost commented 3 years ago
SyntaxError: Unexpected token export

What do we do.

it ain't the end of the world, but we should try er......setting up a node.js workflow and retry? idk my mind is blank

What?!? That makes no sense

Well i thought we all understand that i'm the stupid one

TheColaber commented 3 years ago

Hmm actually wait... it's because of how you build this... for example:

https://github.com/Bijou-js/Bijou.js/blob/main/bijou.js#L117

Would probably be easier if you made one object and just exported that. Or maybe just used a class tbh.

Explosion-Scratch commented 3 years ago

Now using babel in git.bat