Skip to content

Commit d939c76

Browse files
committed
chore: vanilla uses raw keys
1 parent 120996a commit d939c76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/lang.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ async function bundle(files = []) {
4545
Object.entries(await readJSON(file)).forEach(
4646
([key, value]) => {
4747
if (key.startsWith('//')) return;
48-
assign(ret, lang, `underscript.${name}.${key}`, value);
48+
const fullKey = name === 'vanilla' ? key : `underscript.${name}.${key}`;
49+
assign(ret, lang, fullKey, value);
4950
},
5051
);
5152
}));

0 commit comments

Comments
 (0)