Release [0.5.2] - 2023-06-14

Minor changes and bugfixes to improve performance and reliability

Changes

  • Tokens, changelog and previews are now read form the file system using the fs.readFileSync instead of the import statement.
  • Updated the Next.js app pages to utilize getStaticProps for fetching of the configuration and the exported tokens.
  • Removed componentExists utility method as it's no longer used
  • Removed mapComponentSize utility method as it's no longer used

Bugfixes

  • By changing the way in which the configuration, tokens, changelog and previews are read and passed into the pages a bug has been resolved that would occur while running the fetch command while the dev command was already running which would cause the app from stop responding correctly and would require app restart.