Created
August 31, 2019 13:23
-
-
Save pinkhominid/a8bf7c81c0ed0cde107ffd64ff895fec to your computer and use it in GitHub Desktop.
ESM tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Export a default import as default | |
export { default } from '../node_modules/roadtrip/dist/roadtrip.es.js'; | |
// Export a default import as named | |
export { default as router } from '../node_modules/roadtrip/dist/roadtrip.es.js'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment