Skip to content

Commit

Permalink
fix: add craco config
Browse files Browse the repository at this point in the history
  • Loading branch information
kontrast7 committed Jul 9, 2024
1 parent 7fdc4a5 commit 5b36a3d
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 62 deletions.
122 changes: 61 additions & 61 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
{
"files": {
"main.css": "/static/css/main.4277d524.css",
"main.js": "/static/js/main.60b8bccd.js",
"static/media/roboto-latin-500-normal.woff2": "/static/media/roboto-latin-500-normal.f25d774ecfe0996f8eb5.woff2",
"static/media/roboto-latin-700-normal.woff2": "/static/media/roboto-latin-700-normal.227c93190fe7f82de3f8.woff2",
"static/media/roboto-latin-400-normal.woff2": "/static/media/roboto-latin-400-normal.b009a76ad6afe4ebd301.woff2",
"static/media/roboto-latin-300-normal.woff2": "/static/media/roboto-latin-300-normal.c48fb6765a9fcb00b330.woff2",
"static/media/roboto-cyrillic-ext-400-normal.woff2": "/static/media/roboto-cyrillic-ext-400-normal.804378952da8a10faae2.woff2",
"static/media/roboto-cyrillic-ext-300-normal.woff2": "/static/media/roboto-cyrillic-ext-300-normal.4777461b144e55145268.woff2",
"static/media/roboto-cyrillic-ext-500-normal.woff2": "/static/media/roboto-cyrillic-ext-500-normal.62ced72e5832f02c2796.woff2",
"static/media/roboto-cyrillic-ext-700-normal.woff2": "/static/media/roboto-cyrillic-ext-700-normal.be4d02458ce53887dc37.woff2",
"static/media/roboto-latin-300-normal.woff": "/static/media/roboto-latin-300-normal.0515ab82dae6923cab85.woff",
"static/media/roboto-latin-500-normal.woff": "/static/media/roboto-latin-500-normal.1f075502d0094a398e21.woff",
"static/media/roboto-latin-700-normal.woff": "/static/media/roboto-latin-700-normal.666d7a2f9db53cf52e2d.woff",
"static/media/roboto-latin-400-normal.woff": "/static/media/roboto-latin-400-normal.3f2b9a42f643e62a49b7.woff",
"static/media/roboto-cyrillic-ext-300-normal.woff": "/static/media/roboto-cyrillic-ext-300-normal.3503ec5cc6330e21f695.woff",
"static/media/roboto-cyrillic-ext-400-normal.woff": "/static/media/roboto-cyrillic-ext-400-normal.af4d91666ea345601bea.woff",
"static/media/roboto-cyrillic-ext-500-normal.woff": "/static/media/roboto-cyrillic-ext-500-normal.268f264f58eba5c07c88.woff",
"static/media/roboto-cyrillic-ext-700-normal.woff": "/static/media/roboto-cyrillic-ext-700-normal.198a421f279162d59143.woff",
"static/media/roboto-latin-ext-400-normal.woff2": "/static/media/roboto-latin-ext-400-normal.861b791f9de857a6e7bc.woff2",
"static/media/roboto-latin-ext-700-normal.woff2": "/static/media/roboto-latin-ext-700-normal.ed67ad54b1a8f5d21150.woff2",
"static/media/roboto-latin-ext-500-normal.woff2": "/static/media/roboto-latin-ext-500-normal.9165081d10e1ba601384.woff2",
"static/media/roboto-latin-ext-300-normal.woff2": "/static/media/roboto-latin-ext-300-normal.dc7dcec8e3f654e0ed63.woff2",
"static/media/roboto-latin-ext-300-normal.woff": "/static/media/roboto-latin-ext-300-normal.182712ab85f1472cdb2f.woff",
"static/media/roboto-latin-ext-400-normal.woff": "/static/media/roboto-latin-ext-400-normal.e757c42df6aaa3e11b62.woff",
"static/media/roboto-latin-ext-500-normal.woff": "/static/media/roboto-latin-ext-500-normal.252057e589a0379208ed.woff",
"static/media/roboto-latin-ext-700-normal.woff": "/static/media/roboto-latin-ext-700-normal.c1cc6d6fc851b3a2f79d.woff",
"static/media/roboto-cyrillic-500-normal.woff2": "/static/media/roboto-cyrillic-500-normal.cad7d3d9cb265e334e58.woff2",
"static/media/roboto-cyrillic-700-normal.woff2": "/static/media/roboto-cyrillic-700-normal.d010f1f324e111a22e53.woff2",
"static/media/roboto-cyrillic-400-normal.woff2": "/static/media/roboto-cyrillic-400-normal.71a33b6b50457b2c903a.woff2",
"static/media/roboto-cyrillic-300-normal.woff2": "/static/media/roboto-cyrillic-300-normal.1431d1cef06ad04f5458.woff2",
"static/media/roboto-cyrillic-500-normal.woff": "/static/media/roboto-cyrillic-500-normal.965aebef74db72eaf236.woff",
"static/media/roboto-cyrillic-700-normal.woff": "/static/media/roboto-cyrillic-700-normal.f8a034d72aa6828199d4.woff",
"static/media/roboto-cyrillic-300-normal.woff": "/static/media/roboto-cyrillic-300-normal.5b5f2f31962967dfc22c.woff",
"static/media/roboto-cyrillic-400-normal.woff": "/static/media/roboto-cyrillic-400-normal.c1d66054fe23e181d92c.woff",
"static/media/roboto-greek-300-normal.woff2": "/static/media/roboto-greek-300-normal.db2632771401f61463fe.woff2",
"static/media/roboto-greek-400-normal.woff2": "/static/media/roboto-greek-400-normal.c35e4c3958e209d17b31.woff2",
"static/media/roboto-greek-500-normal.woff2": "/static/media/roboto-greek-500-normal.9ac81fefbe6c319ea40b.woff2",
"static/media/roboto-greek-700-normal.woff2": "/static/media/roboto-greek-700-normal.50e795c1345353b0e996.woff2",
"static/media/roboto-greek-300-normal.woff": "/static/media/roboto-greek-300-normal.8ecd7085cfe9bc2c22ac.woff",
"static/media/roboto-greek-400-normal.woff": "/static/media/roboto-greek-400-normal.dfdff8fa12eac629d29f.woff",
"static/media/roboto-greek-500-normal.woff": "/static/media/roboto-greek-500-normal.1a05a4887ccb810cb4dd.woff",
"static/media/roboto-greek-700-normal.woff": "/static/media/roboto-greek-700-normal.a84892c56152037b3552.woff",
"static/media/roboto-vietnamese-500-normal.woff2": "/static/media/roboto-vietnamese-500-normal.d8642a3d1d4ef6179644.woff2",
"static/media/roboto-vietnamese-400-normal.woff2": "/static/media/roboto-vietnamese-400-normal.3230f9b040f3c630e0c3.woff2",
"static/media/roboto-vietnamese-700-normal.woff2": "/static/media/roboto-vietnamese-700-normal.3425a701027d0699e369.woff2",
"static/media/roboto-vietnamese-300-normal.woff2": "/static/media/roboto-vietnamese-300-normal.32fc45a3d1e8ea11fabc.woff2",
"static/media/roboto-vietnamese-300-normal.woff": "/static/media/roboto-vietnamese-300-normal.8472d69545c7409091b4.woff",
"static/media/roboto-vietnamese-400-normal.woff": "/static/media/roboto-vietnamese-400-normal.e0e8ba725ebd107367a8.woff",
"static/media/roboto-vietnamese-500-normal.woff": "/static/media/roboto-vietnamese-500-normal.657896dad292ee9a0a0a.woff",
"static/media/roboto-vietnamese-700-normal.woff": "/static/media/roboto-vietnamese-700-normal.4df79f684fcbca8386bd.woff",
"static/media/roboto-greek-ext-500-normal.woff2": "/static/media/roboto-greek-ext-500-normal.6fb9cffb1d3e72bf9293.woff2",
"static/media/roboto-greek-ext-400-normal.woff2": "/static/media/roboto-greek-ext-400-normal.169619821ea93019d1bb.woff2",
"static/media/roboto-greek-ext-300-normal.woff2": "/static/media/roboto-greek-ext-300-normal.35b9d6be04b95f0f0530.woff2",
"static/media/roboto-greek-ext-700-normal.woff2": "/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
"static/media/roboto-greek-ext-500-normal.woff": "/static/media/roboto-greek-ext-500-normal.eaa367bbd0b333a7f80b.woff",
"static/media/roboto-greek-ext-300-normal.woff": "/static/media/roboto-greek-ext-300-normal.392a45a84c081c4b412d.woff",
"static/media/roboto-greek-ext-400-normal.woff": "/static/media/roboto-greek-ext-400-normal.f708607d2a7290fb8bfa.woff",
"static/media/roboto-greek-ext-700-normal.woff": "/static/media/roboto-greek-ext-700-normal.249853776d22a271b2b5.woff",
"index.html": "/index.html",
"main.4277d524.css.map": "/static/css/main.4277d524.css.map",
"main.60b8bccd.js.map": "/static/js/main.60b8bccd.js.map"
"main.css": "/pwm-front-test/static/css/main.4277d524.css",
"main.js": "/pwm-front-test/static/js/main.60b8bccd.js",
"static/media/roboto-latin-500-normal.woff2": "/pwm-front-test/static/media/roboto-latin-500-normal.f25d774ecfe0996f8eb5.woff2",
"static/media/roboto-latin-700-normal.woff2": "/pwm-front-test/static/media/roboto-latin-700-normal.227c93190fe7f82de3f8.woff2",
"static/media/roboto-latin-400-normal.woff2": "/pwm-front-test/static/media/roboto-latin-400-normal.b009a76ad6afe4ebd301.woff2",
"static/media/roboto-latin-300-normal.woff2": "/pwm-front-test/static/media/roboto-latin-300-normal.c48fb6765a9fcb00b330.woff2",
"static/media/roboto-cyrillic-ext-400-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-ext-400-normal.804378952da8a10faae2.woff2",
"static/media/roboto-cyrillic-ext-300-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-ext-300-normal.4777461b144e55145268.woff2",
"static/media/roboto-cyrillic-ext-500-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-ext-500-normal.62ced72e5832f02c2796.woff2",
"static/media/roboto-cyrillic-ext-700-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-ext-700-normal.be4d02458ce53887dc37.woff2",
"static/media/roboto-latin-300-normal.woff": "/pwm-front-test/static/media/roboto-latin-300-normal.0515ab82dae6923cab85.woff",
"static/media/roboto-latin-500-normal.woff": "/pwm-front-test/static/media/roboto-latin-500-normal.1f075502d0094a398e21.woff",
"static/media/roboto-latin-700-normal.woff": "/pwm-front-test/static/media/roboto-latin-700-normal.666d7a2f9db53cf52e2d.woff",
"static/media/roboto-latin-400-normal.woff": "/pwm-front-test/static/media/roboto-latin-400-normal.3f2b9a42f643e62a49b7.woff",
"static/media/roboto-cyrillic-ext-300-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-ext-300-normal.3503ec5cc6330e21f695.woff",
"static/media/roboto-cyrillic-ext-400-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-ext-400-normal.af4d91666ea345601bea.woff",
"static/media/roboto-cyrillic-ext-500-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-ext-500-normal.268f264f58eba5c07c88.woff",
"static/media/roboto-cyrillic-ext-700-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-ext-700-normal.198a421f279162d59143.woff",
"static/media/roboto-latin-ext-400-normal.woff2": "/pwm-front-test/static/media/roboto-latin-ext-400-normal.861b791f9de857a6e7bc.woff2",
"static/media/roboto-latin-ext-700-normal.woff2": "/pwm-front-test/static/media/roboto-latin-ext-700-normal.ed67ad54b1a8f5d21150.woff2",
"static/media/roboto-latin-ext-500-normal.woff2": "/pwm-front-test/static/media/roboto-latin-ext-500-normal.9165081d10e1ba601384.woff2",
"static/media/roboto-latin-ext-300-normal.woff2": "/pwm-front-test/static/media/roboto-latin-ext-300-normal.dc7dcec8e3f654e0ed63.woff2",
"static/media/roboto-latin-ext-300-normal.woff": "/pwm-front-test/static/media/roboto-latin-ext-300-normal.182712ab85f1472cdb2f.woff",
"static/media/roboto-latin-ext-400-normal.woff": "/pwm-front-test/static/media/roboto-latin-ext-400-normal.e757c42df6aaa3e11b62.woff",
"static/media/roboto-latin-ext-500-normal.woff": "/pwm-front-test/static/media/roboto-latin-ext-500-normal.252057e589a0379208ed.woff",
"static/media/roboto-latin-ext-700-normal.woff": "/pwm-front-test/static/media/roboto-latin-ext-700-normal.c1cc6d6fc851b3a2f79d.woff",
"static/media/roboto-cyrillic-500-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-500-normal.cad7d3d9cb265e334e58.woff2",
"static/media/roboto-cyrillic-700-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-700-normal.d010f1f324e111a22e53.woff2",
"static/media/roboto-cyrillic-400-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-400-normal.71a33b6b50457b2c903a.woff2",
"static/media/roboto-cyrillic-300-normal.woff2": "/pwm-front-test/static/media/roboto-cyrillic-300-normal.1431d1cef06ad04f5458.woff2",
"static/media/roboto-cyrillic-500-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-500-normal.965aebef74db72eaf236.woff",
"static/media/roboto-cyrillic-700-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-700-normal.f8a034d72aa6828199d4.woff",
"static/media/roboto-cyrillic-300-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-300-normal.5b5f2f31962967dfc22c.woff",
"static/media/roboto-cyrillic-400-normal.woff": "/pwm-front-test/static/media/roboto-cyrillic-400-normal.c1d66054fe23e181d92c.woff",
"static/media/roboto-greek-300-normal.woff2": "/pwm-front-test/static/media/roboto-greek-300-normal.db2632771401f61463fe.woff2",
"static/media/roboto-greek-400-normal.woff2": "/pwm-front-test/static/media/roboto-greek-400-normal.c35e4c3958e209d17b31.woff2",
"static/media/roboto-greek-500-normal.woff2": "/pwm-front-test/static/media/roboto-greek-500-normal.9ac81fefbe6c319ea40b.woff2",
"static/media/roboto-greek-700-normal.woff2": "/pwm-front-test/static/media/roboto-greek-700-normal.50e795c1345353b0e996.woff2",
"static/media/roboto-greek-300-normal.woff": "/pwm-front-test/static/media/roboto-greek-300-normal.8ecd7085cfe9bc2c22ac.woff",
"static/media/roboto-greek-400-normal.woff": "/pwm-front-test/static/media/roboto-greek-400-normal.dfdff8fa12eac629d29f.woff",
"static/media/roboto-greek-500-normal.woff": "/pwm-front-test/static/media/roboto-greek-500-normal.1a05a4887ccb810cb4dd.woff",
"static/media/roboto-greek-700-normal.woff": "/pwm-front-test/static/media/roboto-greek-700-normal.a84892c56152037b3552.woff",
"static/media/roboto-vietnamese-500-normal.woff2": "/pwm-front-test/static/media/roboto-vietnamese-500-normal.d8642a3d1d4ef6179644.woff2",
"static/media/roboto-vietnamese-400-normal.woff2": "/pwm-front-test/static/media/roboto-vietnamese-400-normal.3230f9b040f3c630e0c3.woff2",
"static/media/roboto-vietnamese-700-normal.woff2": "/pwm-front-test/static/media/roboto-vietnamese-700-normal.3425a701027d0699e369.woff2",
"static/media/roboto-vietnamese-300-normal.woff2": "/pwm-front-test/static/media/roboto-vietnamese-300-normal.32fc45a3d1e8ea11fabc.woff2",
"static/media/roboto-vietnamese-300-normal.woff": "/pwm-front-test/static/media/roboto-vietnamese-300-normal.8472d69545c7409091b4.woff",
"static/media/roboto-vietnamese-400-normal.woff": "/pwm-front-test/static/media/roboto-vietnamese-400-normal.e0e8ba725ebd107367a8.woff",
"static/media/roboto-vietnamese-500-normal.woff": "/pwm-front-test/static/media/roboto-vietnamese-500-normal.657896dad292ee9a0a0a.woff",
"static/media/roboto-vietnamese-700-normal.woff": "/pwm-front-test/static/media/roboto-vietnamese-700-normal.4df79f684fcbca8386bd.woff",
"static/media/roboto-greek-ext-500-normal.woff2": "/pwm-front-test/static/media/roboto-greek-ext-500-normal.6fb9cffb1d3e72bf9293.woff2",
"static/media/roboto-greek-ext-400-normal.woff2": "/pwm-front-test/static/media/roboto-greek-ext-400-normal.169619821ea93019d1bb.woff2",
"static/media/roboto-greek-ext-300-normal.woff2": "/pwm-front-test/static/media/roboto-greek-ext-300-normal.35b9d6be04b95f0f0530.woff2",
"static/media/roboto-greek-ext-700-normal.woff2": "/pwm-front-test/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
"static/media/roboto-greek-ext-500-normal.woff": "/pwm-front-test/static/media/roboto-greek-ext-500-normal.eaa367bbd0b333a7f80b.woff",
"static/media/roboto-greek-ext-300-normal.woff": "/pwm-front-test/static/media/roboto-greek-ext-300-normal.392a45a84c081c4b412d.woff",
"static/media/roboto-greek-ext-400-normal.woff": "/pwm-front-test/static/media/roboto-greek-ext-400-normal.f708607d2a7290fb8bfa.woff",
"static/media/roboto-greek-ext-700-normal.woff": "/pwm-front-test/static/media/roboto-greek-ext-700-normal.249853776d22a271b2b5.woff",
"index.html": "/pwm-front-test/index.html",
"main.4277d524.css.map": "/pwm-front-test/static/css/main.4277d524.css.map",
"main.60b8bccd.js.map": "/pwm-front-test/static/js/main.60b8bccd.js.map"
},
"entrypoints": [
"static/css/main.4277d524.css",
Expand Down
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.60b8bccd.js"></script><link href="/static/css/main.4277d524.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/pwm-front-test/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/pwm-front-test/logo192.png"/><link rel="manifest" href="/pwm-front-test/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.60b8bccd.js"></script><link href="/static/css/main.4277d524.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
4 changes: 4 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
const path = require("path");
module.exports = {
webpack: {
configure: (webpackConfig) => {
webpackConfig.output.publicPath = process.env.PUBLIC_URL || "/";
return webpackConfig;
},
alias: {
"@": path.resolve(__dirname, "src/"),
},
Expand Down

0 comments on commit 5b36a3d

Please sign in to comment.