v5.0.0
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
- #157 Update all dependencies – drop support for Node.js 12 and 14 (@marcomontalbano)
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
- Marco Montalbano (@marcomontalbano)