Last active
August 20, 2020 19:29
-
-
Save warner/a20f4902949c87adcc5c031bf239e8da to your computer and use it in GitHub Desktop.
SES without -r esm
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
import 'ses'; | |
lockdown(); | |
console.log('lockdown successful'); |
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
{ | |
"name": "ses-esm-test", | |
"type": "module", | |
"dependencies": { | |
"ses": "^0.10.1" | |
}, | |
"scripts": { | |
"test": "node load-ses.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment