We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11322b5 commit 7d0ff0eCopy full SHA for 7d0ff0e
src/generators/web/utils/config.mjs
@@ -72,9 +72,9 @@ export function buildLanguageDisplayNameMap() {
72
* @returns {string} JavaScript source code string with named exports
73
*/
74
export default function createConfigSource(input) {
75
- const config = getConfig('web');
+ const { version: configVersion, ...config } = getConfig('web');
76
77
- const version = `v${config.version.version}`;
+ const version = `v${configVersion.version}`;
78
const editURL = populate(config.editURL, { ...config, version });
79
const pageURL = populate(config.pageURL, config);
80
0 commit comments