Adam Shaw 3 лет назад
Родитель
Сommit
02f1e961eb
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/core/scripts/generate-locale-iife.js

+ 2 - 2
packages/core/scripts/generate-locale-iife.js

@@ -6,8 +6,8 @@ import handlebars from 'handlebars'
 const pkgDir = joinPaths(fileURLToPath(import.meta.url), '../..')
 const templatePath = joinPaths(pkgDir, 'src/locales/iife.js.tpl')
 
-export default async function(entryId) {
-  const localeCode = basename(entryId)
+export default async function(entryAlias) {
+  const localeCode = basename(entryAlias)
 
   const templateText = await readFile(templatePath, 'utf8')
   const template = handlebars.compile(templateText)