@zohodesk/client_build_tool
Version:
A CLI tool to build web applications and client libraries
29 lines (28 loc) • 1.56 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TYPES = exports.SINGLE_DOT_PATH_SEGMENT = exports.MODULE_TYPE = exports.I18N_CHUNK_NAME_GENERATION_SEGMENT = exports.DEFAULT_FILENAME = exports.DEFAULT_CHUNK_FILENAME = exports.CODE_GENERATION_RESULT = exports.BASE_URI = exports.AUTO_PUBLIC_PATH = exports.ABSOLUTE_PUBLIC_PATH = void 0;
const MODULE_TYPE = 'i18n/mini-extract';
exports.MODULE_TYPE = MODULE_TYPE;
const AUTO_PUBLIC_PATH = '__mini_i18n_extract_plugin_public_path_auto__';
exports.AUTO_PUBLIC_PATH = AUTO_PUBLIC_PATH;
const ABSOLUTE_PUBLIC_PATH = 'webpack:///mini-i18n-extract-plugin/';
exports.ABSOLUTE_PUBLIC_PATH = ABSOLUTE_PUBLIC_PATH;
const BASE_URI = 'webpack://';
exports.BASE_URI = BASE_URI;
const SINGLE_DOT_PATH_SEGMENT = '__mini_i18n_extract_plugin_single_dot_path_segment__';
exports.SINGLE_DOT_PATH_SEGMENT = SINGLE_DOT_PATH_SEGMENT;
const I18N_CHUNK_NAME_GENERATION_SEGMENT = '__mini_i18n_extract_plugin_i18n_chunk_name_generation_segment__';
exports.I18N_CHUNK_NAME_GENERATION_SEGMENT = I18N_CHUNK_NAME_GENERATION_SEGMENT;
const DEFAULT_FILENAME = 'i18n-chunks/[locale]/[name].[contenthash].i18n.js';
exports.DEFAULT_FILENAME = DEFAULT_FILENAME;
const DEFAULT_CHUNK_FILENAME = 'i18n-chunks/[locale]/[id].[contenthash].i18n.js';
exports.DEFAULT_CHUNK_FILENAME = DEFAULT_CHUNK_FILENAME;
const TYPES = new Set([MODULE_TYPE]);
exports.TYPES = TYPES;
const CODE_GENERATION_RESULT = {
sources: new Map(),
runtimeRequirements: new Set()
};
exports.CODE_GENERATION_RESULT = CODE_GENERATION_RESULT;