chessboardjs icon indicating copy to clipboard operation
chessboardjs copied to clipboard

npm support (CommonJS and ES6)

Open discapes opened this issue 3 years ago • 0 comments

Basically how it works is the main code is still in lib/chessboard.js. lib/ also has 3 wrapper files for different environments (CommonJS, ES6 and browser). The build script minifies lib/chessboard.js and wraps it and outputs the files to dist/. I published the package to npm, and instructed on the usage in README.md and the website download page.

discapes avatar Jul 12 '22 21:07 discapes