0.3.0 • Published 3 months ago

@sliit-foss/babel-plugin-transform-trace v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@sliit-foss/babel-plugin-transform-trace

Adds tracing to the source code during transpilation

The transformed code will need the following package installed to be able to successfully run :- @sliit-foss/functions

Install

Using npm:

npm install --save-dev @sliit-foss/babel-plugin-transform-trace

or using yarn:

yarn add @sliit-foss/babel-plugin-transform-trace --dev

Options

  • ignore-functions: Array of function names to ignore when adding tracing
  • clean: Boolean value which when true omits the default behaviour of tracing anonymous functions which can pollute the logs

  • Example babel config:-

    {
      "plugins": [
        [
          "@sliit-foss/babel-plugin-transform-trace",
          {
            "ignore-functions": ["foo", "bar"],
            "clean": true
          }
        ]
      ]
    }
0.3.0

3 months ago

0.2.0

4 months ago

0.1.0

10 months ago

0.1.2

6 months ago

0.1.1

10 months ago

0.0.3-dev.2

1 year ago

0.0.3-dev.3

1 year ago

0.0.3-dev.4

1 year ago

0.0.3-dev.5

1 year ago

0.0.3-dev.6

1 year ago

0.0.4

1 year ago

0.0.3-dev.1

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago