1.0.1 • Published 5 years ago

babel-plugin-debug-functions v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

babel-plugin-debug-functions

Run it before @rob.j.qva/babel-plugin-debug! Then it inserts console.log(\" DEBUG line:\", , \"file:\", \" \", )\" on all functions between DEBUG_START and DEBUG_END.

On it's own just outputs __DEBUG() on those functions.

Usage

{
  plugins: [ '@rob.j.qva/babel-plugin-debug-functions', [ '@rob.j.qva/babel-plugin-debug', {'production': false} ] ]
}

To disable debugging and remove all __DEBUG, set production to true.

1.0.1

5 years ago

1.0.0

5 years ago