Skip to content

Commit

Permalink
1차 데모_css
Browse files Browse the repository at this point in the history
  • Loading branch information
SINHJ1 committed Mar 18, 2024
1 parent 64ff26e commit 88a9c55
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 6 deletions.
58 changes: 55 additions & 3 deletions frontend/package-lock.json

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

10 changes: 7 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@
"devDependencies": {
"@types/react": "18.2.38",
"@types/react-dom": "18.0.9",
"css-loader": "^6.10.0",
"customize-cra": "^1.0.0",
"loader-utils": "3.2.1",
"react-app-rewired": "^2.2.1",
"style-loader": "^3.3.4",
"typescript": "4.4.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test",
"eject": "react-scripts eject"
},
"eslintConfig": {
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { override, addWebpackModuleRule } = require('customize-cra');

module.exports = override(
addWebpackModuleRule({
test: /\.css$/,
use: ['style-loader', 'css-loader'],
})
);

0 comments on commit 88a9c55

Please sign in to comment.