Releases: mbrowne/babel-plugin-pure-static-props
Releases · mbrowne/babel-plugin-pure-static-props
0.2.0: First public npm package; includes fix for class components
fix: fix so that we dont blow up when encountering an "export default… …… (#4) * fix: fix so that we dont blow up when encountering an "export default class ..." also adds tests to cover various scenarios * fix: have wrapped classes actually return the class * fix: wrap in standard function instead of arrow function for better compatibility ideally we would be able to have it go through preset-env to get it to transform the arrow functions if necessary, but we dont appear to get that for free the way we are doing this. perhaps it can be investigated in the future * updated readme, added changelog, and prepared for publishing Co-authored-by: Matt Browne <mbrowne@artnet.com>