/
githubmirror
/
meteor
Обзор
Документация
Войти
/
githubmirror
/
meteor
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
devel
packages/non-core/bundle-visualizer/common.js
14 строк
491 B
Ben Newman
Go back to exporting packageName from bundle-visualizer/common.js.
03 дек 2017, 19:31
Не верифицирован
03 дек 2017, 19:31
20fc65d
Код
Авторство
О чём код?
export const packageName = "bundle-visualizer"; export const classPrefix = "meteorBundleVisualizer"; export const methodNameStats = `/__meteor__/${packageName}/stats`; export const typeBundle = "bundle"; export const typePackage = "package"; export const typeNodeModules = "node_modules"; function capitalizeFirstLetter(str) { return str.charAt(0).toUpperCase() + str.slice(1); } export function prefixedClass(className) { return `${classPrefix}${capitalizeFirstLetter(className)}`; }