Skip to content

v5.0.0

Compare
Choose a tag to compare
@marcomontalbano marcomontalbano released this 24 Feb 20:27
· 3 commits to main since this release
710491a

v5.0.0 (2024-02-24)

☄️ Breaking Changes

  • cli, core, output-components-as-es6, output-components-as-stdout, output-components-as-svg, output-components-as-svgr, output-components-as-svgstore, output-styles-as-css, output-styles-as-less, output-styles-as-sass, output-styles-as-style-dictionary, transform-svg-with-svgo, types, utils, website

Drop support for Node.js 12 and 14

Update all dependencies to the latest available with support to Node.js >= v16.14.

SVGR breaking change

SVGR has been updated to the latest version. Starting from v7 they removed plugin-jsx from the core so you'll need to install it manually.

npm install --save-dev @svgr/plugin-jsx
// .figmaexportrc.js

...

outputters: [
  require('@figma-export/output-components-as-svgr')({
    output: './output/svgr',
    getSvgrConfig: () => ({
      plugins: ['@svgr/plugin-jsx']
    })
  })
]

...

Committers: 1