tutorbookapp / old-tutorbook

Source available code for Tutorbook's progressive web app (PWA).
https://tutorbook.app
Other
13 stars 10 forks source link

chore(site): use ES6 imports and exports #266

Closed nicholaschiang closed 4 years ago

nicholaschiang commented 4 years ago

We're using ES6 imports and exports in our src/app/packages but I have yet to move over our src/site/packages to it (they're still using CommonJS require and module.exports statements).

We want to replace the require function calls with import statements and the module.exports should be replaced with export default statements (in front of class definitions).

OrkhanHuseynli commented 4 years ago

@nicholaschiang I am currently working on this