brianium / watermarkjs

:rice_scene: Watermarking for the browser
http://brianium.github.io/watermarkjs/
Other
1.73k stars 232 forks source link

Unable to build #55

Open ajukr opened 5 years ago

ajukr commented 5 years ago

my config:

node 10.14.2 npm 6.4.1

To build, I tried running npm i npm run build

I am getting below error

ERROR in ./index.js
Module not found: Error: Cannot resolve module 'babel' in /home/ajay/watermarkjs

 @ ./index.js 2:17-39

Could you please let me know how to build it?

brianium commented 5 years ago

Perhaps it is time to bring watermarkjs into the present. I am 99% sure JavaScript orthodoxy is different now. It looks like webpack may be missing the old babel loader.

brianium commented 5 years ago

Pull requests are definitely welcome

ajukr commented 5 years ago

Sure. will look into it and let you know..