sku@15.7.0
·
108 commits
to master
since this release
Minor Changes
-
Support Storybook v10 (#1472)
Storybook v10 requires its configuration files to be written in ESM. In applications that are already using ESM (have set
"type": "module"in theirpackage.json), there should be very little, if anything, to change.If you are not using ESM yet, then you may need to make changes to your storybook configuration files, though it's worth running
storybookfirst to confirm whether any changes are necessary.Typical changes include:
- Renaming file extensions from
.jsto.mjs(or typescript equivalents) - Converting
requirestatements toimportstatements - Converting
module.exportstoexportstatements - Adding file extensions to import statements (e.g.
import foo from './foo.js'instead ofimport foo from './foo')
For more information, see the Storybook v10 migration guide.
- Renaming file extensions from