mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
15 lines
491 B
JavaScript
15 lines
491 B
JavaScript
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)}`;
|
|
}
|