babel-plugin-annotate-pure-calls icon indicating copy to clipboard operation
babel-plugin-annotate-pure-calls copied to clipboard

This plugins helps with annotating top level functions calls with #__PURE__ comment.

Results 6 babel-plugin-annotate-pure-calls issues
Sort by recently updated
recently updated
newest added

Note - the option should be able to handle renamed imports like this: ```js { whitelist: [ 'taggedTemplateLiteral', { identifier: 'css' , source: 'emotion' } ] } ``` So even...

enhancement

**Input code** ```js var unusedTimerId = setInterval(function () { pingAPI() }) ``` Even though `setInterval` is used in assignment context and its result remain unused, its probably not desired to...

enhancement

This adds support for a common pattern we use in @effect/schema. I couldn't get the babel7 tests to pass because the output I get there is identical to the one...