"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const React = __importStar(require("react"));
const core_1 = require("@bluebase/core");
// import ReactHotLoaderPlugin from './ReactHotLoaderPlugin/HOC';
// tslint:disable-next-line:no-var-requires
let bootOptions = require('BLUERAIN_BOOT_OPTIONS');
// ES Module
bootOptions = bootOptions.default ? bootOptions.default : bootOptions;
// const isDev = process.env.BUILD_FLAG_IS_DEV === 'true';
// const isClient = process.env.BUILD_FLAG_IS_CLIENT === 'true';
// const isSSR = process.env.BUILD_FLAG_IS_SSR === 'true';
// if (isDev && isClient) {
// 	bootConfig.plugins = bootConfig.plugins || [];
// 	bootConfig.plugins.push(ReactHotLoaderPlugin);
// }
// if (isSSR) {
// 	BR.enableSsrMode();
// }
console.log('boot', bootOptions);
const App = () => (React.createElement(core_1.BlueBaseApp, Object.assign({}, bootOptions)));
exports.default = App;
//# sourceMappingURL=App.js.map