beeware / batavia

A JavaScript implementation of the Python virtual machine.
http://pybee.org/batavia
Other
1.39k stars 424 forks source link

Replace Webpack with Rollup, and start using ES2016 syntax #705

Closed freakboy3742 closed 4 years ago

freakboy3742 commented 6 years ago

This is a major refactor, replacing Webpack with Rollup.

Rollup's configuration is much easier to work with, and produces smaller output, faster.

The syntax maps are also much more reliable, and in the territory of "they just work", rather than requiring a whole separate webserver serving JS content.

Lastly, this patch packages Batavia as a Python package (as well as a JS one), so that end users can just "pip install batavia" and get a Python-compatible deployment. It currently only includes the pieces for a Django deployment, but it's really just a staticfiles directory, so any other deployment should also be possible.

phildini commented 4 years ago

Hi there! It looks like this PR might be dead, so we're closing it for now. Feel free to re-open it if you'd like to continue, or think about directing your efforts to https://github.com/beeware/briefcase or https://github.com/beeware/toga. Both of these have more active development right now. 😄