Usually when I write code in JS, I like to organize them by having multiple files. (ex. one class per file)
We are probably required to provide
- common.js
- edittime.js
- runtime.js
these files in vanilla javascript that browser can understand.
If I want to write code in ES6, does this mean we have to use transpiler like webpack or browserify? Has anyone successfully done this? The template file
http://www.scirra.com/downloads/javascript-sdk-template.zip
is very minimal and it would be nice to have some starter project that does what I have mentioned here.