Skip to content

Commit f24138e

Browse files
committed
update
1 parent 3c26789 commit f24138e

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

ui/src/craco.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
webpack: {
5+
alias: {
6+
'@': path.resolve(__dirname, 'src'),
7+
},
8+
},
9+
};

ui/src/jsconfig.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
{
22
"compilerOptions": {
3-
"baseUrl": "src",
3+
"baseUrl": ".",
44
"paths": {
5-
"@/*": [
6-
"*"
7-
]
5+
"@/*": ["./src/*"]
86
}
9-
},
10-
"include": [
11-
"./*"
12-
]
7+
}
138
}

ui/src/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"tailwindcss-animate": "^1.0.7"
2222
},
2323
"scripts": {
24-
"start": "react-scripts start",
25-
"build": "react-scripts build",
26-
"test": "react-scripts test",
24+
"start": "craco start",
25+
"build": "craco build",
26+
"test": "craco test",
2727
"eject": "react-scripts eject"
2828
},
2929
"eslintConfig": {

0 commit comments

Comments
 (0)