ome / omero-gallery

https://pypi.org/project/omero-gallery/
GNU Affero General Public License v3.0
5 stars 15 forks source link

Babel build #32

Closed will-moore closed 5 years ago

will-moore commented 5 years ago

This was more painful than expected! Adds a simple build step using babel to compile newer JS to support IE and older browsers. Also adds polyfills for features missing from IE11.

To test:

To build:

    npm install
    npm run build

This will watch the src directory and compile any changes into the gallery static directory. NB: Both the src and the built files are committed so we don't need a build step in the install process (as we did with OMERO.figure for a while). This will all change when we switch to a library/framework after first release. cc @jburel