trail

2.1.0 • Public • Published

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

/trail/

    Package Sidebar

    Install

    npm i trail

    Weekly Downloads

    11

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    28.5 kB

    Total Files

    3

    Last publish

    Collaborators

    • drevoed
    • drelliot
    • sergeysova
    • lobatik
    • zero_bias
    • doasync