Skip to content

Commit

Permalink
fix: add newline before export
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jul 20, 2022
1 parent 1231dbe commit 5541549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/mdx/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function mdx(): AstroIntegration {

if (!moduleExports.includes('url')) {
const { fileUrl } = getFileInfo(id, config);
code += `export const url = ${JSON.stringify(fileUrl)};`;
code += `\nexport const url = ${JSON.stringify(fileUrl)};`;
}
if (command === 'dev') {
// TODO: decline HMR updates until we have a stable approach
Expand Down

0 comments on commit 5541549

Please sign in to comment.