Repository URL to install this package:
|
Version:
1.2.17 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.config = exports.setConfig = exports.setCustomConfig = void 0;
var _exotic = require("exotic");
const config = new Map(); // @alias from
exports.config = config;
const setCustomConfig = x => Object.keys(x).forEach(key => config.set(key, x[key]));
exports.setConfig = exports.setCustomConfig = setCustomConfig;
setCustomConfig({
theme: {
name: '@@default'
},
replacements: _exotic.EMPTY_ARRAY,
variables: _exotic.EMPTY_OBJ,
SHOULD_PRETTIFY: process.env.NODE_ENV === 'development'
});
/**
* @prop {Object} replacements
* @prop {Object} variables
* @prop {Boolean} SHOULD_PRETTIFY
*/