From a0fd73bb004f343c531af456e52e6bb21138d67c Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Tue, 1 Aug 2023 17:37:05 -0400 Subject: [PATCH] prettier --- scripts/make-react.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make-react.js b/scripts/make-react.js index d502f0b7f..8abdcd3c2 100644 --- a/scripts/make-react.js +++ b/scripts/make-react.js @@ -24,7 +24,7 @@ components.map(component => { const tagWithoutPrefix = component.tagName.replace(/^sl-/, ''); const componentDir = path.join(reactDir, tagWithoutPrefix); const componentFile = path.join(componentDir, 'index.ts'); - const importPath = component.path.split(/\.js$/)[0] + ".component.js"; + const importPath = component.path.split(/\.js$/)[0] + '.component.js'; const eventImports = (component.events || []) .map(event => `import { ${event.eventName} } from '../../../src/events/events';`) .join('\n');