Skip to content

Commit

Permalink
refactor(ses): rename vars
Browse files Browse the repository at this point in the history
  • Loading branch information
leotm authored and kriskowal committed Dec 5, 2023
1 parent 0a649b8 commit a3c3cc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ses/scripts/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ const main = async () => {

await fs.promises.mkdir('dist', { recursive: true });

const bundles = [
const bundleFilePaths = [
'dist/ses.cjs',
'dist/ses.mjs',
'dist/ses.umd.js',
'dist/lockdown.cjs',
'dist/lockdown.mjs',
'dist/lockdown.umd.js',
];
const terses = ['dist/ses.umd.min.js', 'dist/lockdown.umd.min.js'];
const terseFilePaths = ['dist/ses.umd.min.js', 'dist/lockdown.umd.min.js'];

await Promise.all([
...bundles.map(dest => write(dest, versionedBundle)),
...terses.map(dest => write(dest, terse)),
...bundleFilePaths.map(dest => write(dest, versionedBundle)),
...terseFilePaths.map(dest => write(dest, terse)),
]);
};

Expand Down

0 comments on commit a3c3cc8

Please sign in to comment.