Use Live2D Cubism Core in JavaScript or TypeScript applications
developThe Core/ directory contains the essential library files required to develop applications using Live2D Cubism. Depending on your development environment, you should use the following files:
- For TypeScript development: Use
live2dcubismcore.d.tsalongsidelive2dcubismcore.jsto provide type information. - For JavaScript development: Use
live2dcubismcore.jsto access CubismCore functionality and its wrappers. - For Production: Use the minified version
live2dcubismcore.min.jsto optimize performance and file size. - For Debugging: Ensure
live2dcubismcore.js.mapis available to enable source mapping between the TypeScript definitions and the JavaScript implementation.