Skip to content

Commit 7d0ff0e

Browse files
authored
fixup!
1 parent 11322b5 commit 7d0ff0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/generators/web/utils/config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ export function buildLanguageDisplayNameMap() {
7272
* @returns {string} JavaScript source code string with named exports
7373
*/
7474
export default function createConfigSource(input) {
75-
const config = getConfig('web');
75+
const { version: configVersion, ...config } = getConfig('web');
7676

77-
const version = `v${config.version.version}`;
77+
const version = `v${configVersion.version}`;
7878
const editURL = populate(config.editURL, { ...config, version });
7979
const pageURL = populate(config.pageURL, config);
8080

0 commit comments

Comments
 (0)