https://github.com/drproteus/haxejs-boilerplate
https://github.com/drproteus/haxejs-boilerplate
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drproteus/haxejs-boilerplate
- Owner: drproteus
- Created: 2017-11-15T22:50:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-17T17:01:46.000Z (over 1 year ago)
- Last Synced: 2026-03-05T19:44:18.840Z (4 months ago)
- Language: Haxe
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HaxeJS + Webpack Starter Pack
### Provides example with ThreeJS
Built with haxe 3.4.4, not sure what breaks with versioning.
* `haxelib install requirements.hxml`
* `make`
* `make serve` to serve on port 8080 (by default)
In `bin/` you will find `shim.js` which serves as an intermediary of consolidating JS library imports, setting up globals for the Haxe generated JS to consume, and finally requiring the generate JS itself.
We feed `shim.js` to webpack to fully compile the JavaScripts. The result is `index.js`, this gets placed at the tail end of `index.html`