Skip to content

Commit

Permalink
Fix: Include possibly renamed meta identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
xeho91 committed May 28, 2024
1 parent d1bfaad commit eb432de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/transform/compiled/create-appendix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function createAppendix(params: Params) {
'', // NOTE: Adds a new line at the end of the code
`import parser from '${parserModulePath}';`,
`const ${parsedStoriesVariable} = parser(${componentName}, ${metaIdentifier});`,
`export default meta;`,
`export default ${metaIdentifier};`,
`export const ${exportsOrderVariable} = ${JSON.stringify(exportsOrder)};`,
storiesExports,
].join('\n');
Expand Down

0 comments on commit eb432de

Please sign in to comment.