v6.0.0 #168
marcomontalbano
announced in
Announcements
v6.0.0
#168
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v6.0.0 (2024-05-10)
☄️ 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,websiteCommitters: 1
What's inside?
Breaking changes
This library is now pure ESM.
This change may seem significant, but for most users, it's likely to have minimal impact. If your project already uses
type="module"in yourpackage.json, you're good to go.However, if your project hasn't yet made this transition, you'll need to rename your
.figmaexportrc.jsconfiguration file:adjust the command you run:
and start using
import foo from 'foo'instead ofconst foo = require('foo')to import the packages inside the.figmaexportrc.mjs. You can take a look at .figmaexportrc.example.js as an example.This discussion was created from the release v6.0.0.
Beta Was this translation helpful? Give feedback.
All reactions