Skip to content

Commit

Permalink
feat: alias for importing
Browse files Browse the repository at this point in the history
  • Loading branch information
sayinmehmet47 committed Nov 26, 2023
1 parent 5e94f2c commit d35f80f
Show file tree
Hide file tree
Showing 17 changed files with 415 additions and 139 deletions.
8 changes: 8 additions & 0 deletions client/craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const path = require('path');
module.exports = {
webpack: {
alias: {
'@': path.resolve(__dirname, 'src'),
},
},
};
272 changes: 272 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"zod": "^3.22.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "craco eject"
},
"eslintConfig": {
"extends": [
Expand All @@ -79,6 +79,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@craco/craco": "^7.1.0",
"@playwright/test": "^1.31.1",
"@types/node": "^18.14.4",
"@types/react-table": "^7.7.14",
Expand Down
Loading

1 comment on commit d35f80f

@vercel
Copy link

@vercel vercel bot commented on d35f80f Nov 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.