Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The complete ES module upgrade guide - part 4
// index.js
console.log('loading module');
import './module.js';
console.log('module loaded');
// module.js
console.log('hello from module');
// hello from module
// loading module
// module loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.