@daybrush/babel-plugin-no-side-effect-class-properties

This plugin transforms static class properties as well as properties declared with the property initializer syntax

Stats

StarsIssuesVersionUpdatedCreatedSize
@daybrush/babel-plugin-no-side-effect-class-properties
0.0.63 years ago3 years agoMinified + gzip package size for @daybrush/babel-plugin-no-side-effect-class-properties in KB

Readme

babel-plugin-no-side-effect-class-properties npm version

if use class properties and have no side effects, use this plugin.

This is a guide page. Use babel-plugin-no-side-effect-class-properties for up to date features and support.

Install

Using npm:

npm install --save-dev babel-plugin-no-side-effect-class-properties

.babelrc

{
  "plugins": [
    ["no-side-effect-class-properties"],
    ["@babel/plugin-proposal-class-properties", { "loose": true }],
  ]
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.