Open koutsenko opened 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.
Hi @koutsenko ,
Have you figured this out already? Before I jump into the rabbit hole myself :-)
Hi @JeffreyArts.
Nope, i didnt solved that. Just switched to TimothyGu/knuth-shuffle-seed.
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.