Skip to content

Commit 2bc8601

Browse files
Update webpack.config.js
Signed-off-by: techknowlogick <[email protected]>
1 parent e1e58b5 commit 2bc8601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export default {
235235
return {name, version, licenseName, body: formatLicenseText(licenseText)};
236236
});
237237

238-
const modules = [...goModules, ...jsModules].sort((a, b) => (a.name || '').localeCompare(b.name || ''));
238+
const modules = [...goModules, ...jsModules].sort((a, b) => a.name.localeCompare(b.name));
239239
return modules.map(({name, version, licenseName, body}) => {
240240
const title = licenseName ? `${name}@${version} - ${licenseName}` : name;
241241
return `${line}\n${title}\n${line}\n${body}`;

0 commit comments

Comments
 (0)