add build-intermediate command to rollup bundled/ into a single file
This is the first step towards getting a string for the quine.
MODIFY
package.json
package.json
"description": "Secure EcmaScript",
"main": "index.js",
"scripts": {
- "test": "tape -r esm test/**/*.js"
+ "test": "tape -r esm test/**/*.js",
+ "build-intermediate": "rollup src/bundled/index.js --format cjs --file src/bundle.js"
},
"devDependencies": {
"esm": "^3.0.37",

ADD
src/bundled/createSES.js
+
+export function createSES(globals, injectedString) {
+ const SES = {};
+
+ return SES;
+}

ADD
src/bundled/index.js
+import { createSES } from './createSES.js';
+
+export { createSES };

add build-intermediate command to rollup bundled/ into a single file

This is the first step towards getting a string for the quine.