An open API service indexing awesome lists of open source software.

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.

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