Closed hgwood closed 1 year ago
That makes a lot of sense! Let me know if you find anything else!
:tada: This PR is included in version 0.8.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Thank you very much for the quick release!
Hello, and thank you for making rollup-plugin-react-scoped-css, which I've started using to migrate some apps from create-react-app to vite.
Array destructuring with unbound elements (eg
let [, b] = [1, 2]
) yields AST nodes which arenull
. rollup-plugin-react-scoped-css would crash on such nodes because it always callsObject.keys
on AST nodes. This is a fix for such situations. It might cover other cases where acorn yieldsnull
AST nodes.I hope you find it useful!