trail

Install trail and babel-plugin-module-resolver which will replace imports from effector to trail/runtime

Usage no npm install needed!

<script type="module">
  import trail from 'https://cdn.skypack.dev/trail';
</script>

README

trail

setup

  1. Install trail and babel-plugin-module-resolver which will replace imports from effector to trail/runtime
npm install -D trail babel-plugin-module-resolver
  1. Add plugins to babel config
{
  "plugins": [
    [
      "effector/babel-plugin",
      {
        "addLoc": true
      }
    ],
    [
      "babel-plugin-module-resolver",
      {
        "alias": {
          "effector": "trail/runtime"
        }
      }
    ]
  ]
}

usage

  1. Run application in browser
  2. Open console

If everything is ok, then you should see in logs:

trail runtime active. will print results in 3s

And then results will appear