0.1.0-alpha.14 • Published 2 months ago

@react-unforget/babel-plugin v0.1.0-alpha.14

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@react-unforget/babel-plugin

To use the babel plugin, you need to install it and add it to your Babel configuration.

npm install --save-dev @react-unforget/babel-plugin

Then, add it to your Babel configuration. For example, in your .babelrc:

{
  "plugins": ["@react-unforget/babel-plugin"]
}

Options

The babel plugin accepts a few options:

  • throwOnFailure (default: false): If true, the plugin will throw an error if it fails to analyze the component / hook.
  • skipComponents (default: []): An array of component names to skip. For example, ["MyComponent"].
  • skipComponentsWithMutation (default: false): If true, the plugin will skip components that have variables that are mutated e.g. array.push() or variable re-assignment. This is configurable because despite thorough testing, we are still not 100% sure that this is safe to do in all cases.
0.1.0-alpha.14

2 months ago

0.1.0-dev.12

2 months ago

0.1.0-dev.11

2 months ago

0.1.0-dev.10

2 months ago

0.1.0-alpha.13

2 months ago

0.1.0-dev.9

2 months ago

0.1.0-dev.8

2 months ago

0.1.0-dev.7

2 months ago

0.1.0-dev.6

2 months ago

0.1.0-dev.5

2 months ago

0.1.0-dev.4

3 months ago