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


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


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.


Using npm:

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


  "plugins": [
    ["@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.