Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

A demonstration of using es6 import syntax with @BabylonJS es6 library. Uses source transformation to make babylonjs browser legal.

License

Notifications You must be signed in to change notification settings

lukehb/babylon-es6-browser-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A demonstration of using es6 import syntax with @BabylonJS es6 library. Uses source transformation to make babylonjs browser legal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published