./src/index.js
Error: SyntaxError: Unexpected token (8:2)
<meta charset="utf-8">
есть (this["webpackJsonpmy-app"] = this["webpackJsonpmy-app"] || []).push([
[0], {
11: function(e, t, n) {
"use strict";
n.r(t);
var c = n(1),
s = n.n(c),
r = n(3),
a = n.n(r),
o = (n(8), n.p + "static/media/logo.6ce24c58.svg"),
i = (n(9), n(0));
var p = function() {
return Object(i.jsx)("div", {
className: "App",
children: Object(i.jsxs)("header", {
className: "App-header",
children: [Object(i.jsx)("img", {
src: o,
className: "App-logo",
alt: "logo"
}), Object(i.jsxs)("p", {
children: ["Edit ", Object(i.jsx)("code", {
children: "src/App.js"
}), " and save to reload."]
}), Object(i.jsx)("a", {
className: "App-link",
href: "https://reactjs.org",
target: "_blank",
rel: "noopener noreferrer",
children: "Learn React"
})]
})
})
},
l = function(e) {
e && e instanceof Function && n.e(3).then(n.bind(null, 12)).then((function(t) {
var n = t.getCLS,
c = t.getFID,
s = t.getFCP,
r = t.getLCP,
a = t.getTTFB;
n(e), c(e), s(e), r(e), a(e)
}))
};
a.a.render(Object(i.jsx)(s.a.StrictMode, {
children: Object(i.jsx)(p, {})
}), document.getElementById("root")), l()
},
8: function(e, t, n) {},
9: function(e, t, n) {}
},
[
[11, 1, 2]
]
]);
//# sourceMappingURL=main.8c5379e5.chunk.js.map
./src/index.js
Error: SyntaxError: Unexpected token (8:2)
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
./src/App.css
TypeError: __webpack_require__(...) is not a function
server {
listen 80;
listen 443 ssl;
server_name simple-api.host;
ssl_certificate /etc/nginx/cert.crt;
ssl_certificate_key /etc/nginx/key.key;
location /socket/ {
proxy_pass http://127.0.0.1:8443;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 70s;
}
}