() {
var React = __webpack_require__(/! react / "./node_modules/react/index.js");
var canUseDom = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
if (canUseDom) {
var target = document.querySelector("#main");
var ReactDOM = __webpack_require__(/! react-dom / "./node_modules/react-dom/index.js");
ReactDOM.render(React.createElement(exports["default"]), target);
} else {
var RDS = __webpack_require__(/! react-dom/server / "./node_modules/react-dom/server.browser.js");
exports["default"] = RDS.renderToStaticMarkup(React.createElement(exports["default"]));
}
})();
И ругается, что exports is not defined
@webpack_ru
Обсуждают сегодня