webcaetano / shuffle-seed

[DEPRECATED] Nodejs module to Shuffle an Array with seed :seedling:
MIT License
28 stars 9 forks source link

Can't build with webpack2 #4

Open koutsenko opened 7 years ago

koutsenko commented 7 years ago

ERROR in ./~/diffie-hellman/lib/primes.json Module build failed: SyntaxError: Unexpected token, expected ; (2:11)

ERROR in ./~/elliptic/package.json Module build failed: SyntaxError: Unexpected token, expected ; (2:9)

The json loader is enabled by default in webpack2. Seems webpack2 cant pack your library to bundle.js

Any advices\solutions? I have already a couple of libraries in project that bundles successfully. Thanks a lot.

JeffreyArts commented 6 years ago

Hi @koutsenko ,

Have you figured this out already? Before I jump into the rabbit hole myself :-)

koutsenko commented 6 years ago

Hi @JeffreyArts.

Nope, i didnt solved that. Just switched to TimothyGu/knuth-shuffle-seed.