https://github.com/lukehb/babylon-es6-browser-example
A demonstration of using es6 import syntax with @babylonjs es6 library. Uses source transformation to make babylonjs browser legal.
https://github.com/lukehb/babylon-es6-browser-example
babylonjs es6 js jscodeshift
Last synced: 5 months ago
JSON representation
A demonstration of using es6 import syntax with @babylonjs es6 library. Uses source transformation to make babylonjs browser legal.
- Host: GitHub
- URL: https://github.com/lukehb/babylon-es6-browser-example
- Owner: lukehb
- License: mit
- Archived: true
- Created: 2019-11-07T00:05:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T00:39:00.000Z (almost 3 years ago)
- Last Synced: 2025-03-02T02:15:23.465Z (7 months ago)
- Topics: babylonjs, es6, js, jscodeshift
- Language: JavaScript
- Size: 337 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Demonstration showing browswer importing of babylon es6.
To enable importing in the browser babylon es6 must undergo source transformation to make it browser legal.To run the example:
- ```npm install```
- ```npm start```
- ```navigate to http://localhost:3000```The source transformation is done as npm postinstall step using jscodeshift.
The jscodeshift configuration is in ./config/transform.js