diff --git a/src/babel/index.js b/src/babel/index.js index b7e75e9d5..0a5be5e12 100644 --- a/src/babel/index.js +++ b/src/babel/index.js @@ -173,6 +173,11 @@ module.exports = function plugin(args) { if (path.isClassProperty()) { const { node } = path; + // don't apply transform to static class properties + if (node.static) { + return; + } + const state = { optOut: false, };