0.0.13 • Published 5 years ago
react-unity-scripts v0.0.13
react-unity-scripts
This package includes scripts and configuration used by React Unity. Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
Extra Environment Variables
FILENAME- Name of the generated javascript file.index.jsby default.BUILD_DIR- Path to the generated output. Relative to the project.buildby default.GENERATE_SOURCEMAP-falseby default.HARD_RELOAD- Reload the entire UI instead of doing HMR.falseby default.IMAGE_INLINE_SIZE_LIMIT-0by default. Because non-inlined images will be faster in Unity. However, users may still want to inline images.
Environment variables can also be defined by having .env, .env.local, .env.<development|production> in project folder.