Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm support (CommonJS and ES6) #232

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft

Conversation

discapes
Copy link

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 discapes marked this pull request as draft July 13, 2022 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant