@zohodesk/client_build_tool
Version:
A CLI tool to build web applications and client libraries
31 lines (30 loc) • 1.45 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.libAlias = void 0;
// the reason for alias at the time was code tree shaking
// tree shaking was most compactable with ES module system
// FIXME: But there is a posiblity when these package does not have lib,
// app will work because of alias, But may be jest won't work because of not alais
// So need to think about use alais in jest
const libAlias = {
'/components/lib': '/components/es',
// '@zohodesk/zc-custom/lib': '@zohodesk/zc-custom/es',
'/dot/lib': '/dot/es',
'/i18n/lib': '/i18n/es',
'/icons/lib': '/icons/es',
'/normalizer/lib': '/normalizer/es',
'/perf-components/lib': '/perf-components/es',
'/perf-middleware/lib': '/perf-middleware/es',
'/permissions/lib': '/permissions/es',
'/platform-middleware/lib': '/platform-middleware/es',
'/react-dnd/lib': '/react-dnd/es',
'/router-middleware/lib': '/router-middleware/es',
'/storage/lib': '/storage/es',
'/svg/lib': '/svg/es',
'/timetracker/lib': '/timetracker/es',
'/variables/lib': '/variables/es',
'/virtualizer/lib': '/virtualizer/es'
};
exports.libAlias = libAlias;