Most modern javascript development has moved away from monolithic scripts towards modules.
My chess script is getting quite large and I'd really like to be able to import utility functions from another file. (or use the same code across client and server), ideally, we'd be able to use vanilla JavaScript ES6 modules (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)
Please sign in to leave a comment.
1 Comments