Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/* eslint-disable no-console */
const C = require("@effectful/core");
const config = C.config;
const Policy = C.Policy;
const T = C.Transform;
const Tag = C.Tag;
const Kit = C.Kit;
const rebind = {
all: {
presetsImportPattern: false,
directives: false,
bindCalls: null,
reuseImports: false
},
effectful: {
scopeContext: true,
contextMethodOps: true,
markRepeat: false,
module.exports = function jsProfile(pOpts = {}) {
const opts = Object.assign(
{},
C.config,
{ preset: "@effectful/js", modules: "esDefault" },
pOpts
);
return {
syntaxPlugins: [],
options: opts,
main: T.run
};
};