Skip to content

Instantly share code, notes, and snippets.

@warner
Last active August 20, 2020 19:29
Show Gist options
  • Save warner/a20f4902949c87adcc5c031bf239e8da to your computer and use it in GitHub Desktop.
Save warner/a20f4902949c87adcc5c031bf239e8da to your computer and use it in GitHub Desktop.
SES without -r esm
import 'ses';
lockdown();
console.log('lockdown successful');
{
"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