Skip to content

Commit 6986e25

Browse files
committed
chore: update to mjs
1 parent 615a54e commit 6986e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/lightning/dev/site.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default class LightningDevSite extends SfCommand<void> {
9292
const scriptToRun = `import { expDev } from '@lwrjs/api';
9393
const params = ${JSON.stringify(params, null, 2)};
9494
await expDev(params);`;
95-
const pathToScript = path.join(selectedSite.getSiteDirectory(), 'launchServer.js');
95+
const pathToScript = path.join(selectedSite.getSiteDirectory(), 'launchServer.mjs');
9696
fs.writeFileSync(pathToScript, scriptToRun, 'utf-8');
9797
this.log(`Launch server from the following script: ${pathToScript}`);
9898
} else {

0 commit comments

Comments
 (0)