Repository URL to install this package:
|
Version:
2.1.1 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib"); // maybe if we import config only first?
const styleh_components_1 = require("styleh-components");
const forms_1 = require("../../forms");
const variables_1 = tslib_1.__importDefault(require("../../client/styles/variables"));
const theme_1 = tslib_1.__importDefault(require("../../client/styles/theme"));
const replacements_1 = require("../../client/styles/replacements");
const IS_BROWSER = typeof window === 'object';
exports.SHOULD_PRETTIFY = process.env.NODE_ENV === 'development';
function setup() {
styleh_components_1.setConfig({
SHOULD_PRETTIFY: exports.SHOULD_PRETTIFY,
replacements: replacements_1.replacements,
variables: variables_1.default,
theme: theme_1.default
});
forms_1.registerFormInputChainPlugins();
}
exports.setup = setup;
if (IS_BROWSER) {
window.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED__ = {};
} //# sourceMappingURL=index.js.map