@gasket/plugin-intl
Version:
NodeJS script to build localization files.
17 lines (16 loc) • 456 B
JavaScript
/**
* Shortcut to get the gasket.config.intl object
* @param {Partial<import("@gasket/core").Gasket>} gasket - Gasket API
* @returns {import('../index.d.ts').IntlConfig} intl config
*/ Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "getIntlConfig", {
enumerable: true,
get: function() {
return getIntlConfig;
}
});
function getIntlConfig(gasket) {
return gasket.config.intl;
}