Skip to content

Commit

Permalink
fix: compatible CRA and Next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidZORO committed Aug 23, 2021
1 parent 0c68c6d commit dd35914
Show file tree
Hide file tree
Showing 5 changed files with 1,452 additions and 1,914 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"private": true,
"scripts": {
"-------------------------------- LINT ----": "----",
"lint": "tsc --noEmit && eslint src/**/*.ts{,x}",
"lint": "next lint",
"lintall": "tsc --noEmit && eslint src/**/*.ts{,x}",
"fix": "yarn lint --fix",
"tsc-check": "tsc -v && tsc --noEmit",
"format": "prettier --write src/**/*.ts{,x}",
Expand Down Expand Up @@ -35,7 +36,7 @@
"next": "11.1.0",
"next-compose-plugins": "^2.2.1",
"next-images": "^1.8.1",
"next-plugin-antd-less": "^1.4.1",
"next-plugin-antd-less": "^1.4.2",
"normalize.css": "^8.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/page-components/test/Test/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.comp-wrapper {
position: relative;
padding: 20px;
//padding: 20px;
}

a {
Expand Down
2 changes: 1 addition & 1 deletion src/page-components/test/TestCssImageBg/styles.module.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
width: 200px;
height: 200px;
margin: 0 auto;
background-image: url('./image.jpg');
//background-image: url('./image.jpg');
}

// DARK-MODE--COMP
Expand Down
1 change: 0 additions & 1 deletion src/pages/test.tsx

This file was deleted.

Loading

1 comment on commit dd35914

@vercel
Copy link

@vercel vercel bot commented on dd35914 Aug 23, 2021

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

Please sign in to comment.