Przeglądaj źródła

隐藏按钮——build配置

shaogen1995 6 miesięcy temu
rodzic
commit
e2c008fb6b
4 zmienionych plików z 21604 dodań i 6835 usunięć
  1. 1 0
      .gitignore
  2. 21599 6832
      package-lock.json
  3. 3 2
      package.json
  4. 1 1
      src/styles/index.css

+ 1 - 0
.gitignore

@@ -10,6 +10,7 @@
 
 # production
 /build
+/dist
 
 # misc
 .DS_Store

Plik diff jest za duży
+ 21599 - 6832
package-lock.json


+ 3 - 2
package.json

@@ -45,14 +45,15 @@
     "eslint": "^8.54.0",
     "cross-env": "~7.0.3",
     "@flowgram.ai/ts-config": "0.2.9",
-    "@flowgram.ai/eslint-config": "0.2.9"
+    "@flowgram.ai/eslint-config": "0.2.9",
+    "react-app-rewired": "^2.2.1"
   },
   "publishConfig": {
     "access": "public",
     "registry": "https://registry.npmjs.org/"
   },
   "scripts": {
-    "build": "exit 0",
+    "build": "rsbuild build",
     "build:fast": "exit 0",
     "build:watch": "exit 0",
     "clean": "rimraf dist",

+ 1 - 1
src/styles/index.css

@@ -73,7 +73,7 @@
 
 /* 自己加的 */
 .Btnn{
-    /* display: none; */
+    display: none;
     position: fixed;
     z-index: 99999;
     left: 20px;