Browse Source

react-snap 설정 추가

master
김장현 8 months ago
parent
commit
5377629a53
  1. 5
      hydratable.config.json
  2. 849
      package-lock.json
  3. 15
      package.json

5
hydratable.config.json

@ -1,5 +0,0 @@
{
"host": "http://121.190.193.50",
"port": 6080,
"crawlingUrls": ["/", "/laanc/index"]
}

849
package-lock.json generated

File diff suppressed because it is too large Load Diff

15
package.json

@ -129,8 +129,7 @@
"build": "react-app-rewired build", "build": "react-app-rewired build",
"test": "react-app-rewired test", "test": "react-app-rewired test",
"eject": "react-app-rewired eject", "eject": "react-app-rewired eject",
"postbuild": "react-hydratable", "postbuild": "react-snap"
"preview": "react-hydratable --preview"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app" "extends": "react-app"
@ -153,7 +152,7 @@
"react-app-rewire-postcss": "^3.0.2", "react-app-rewire-postcss": "^3.0.2",
"react-app-rewire-sass-rule": "^2.1.1", "react-app-rewire-sass-rule": "^2.1.1",
"react-app-rewired": "^2.1.6", "react-app-rewired": "^2.1.6",
"react-hydratable": "1.3.0", "react-snap": "1.23.0",
"sass-loader": "^8.0.2", "sass-loader": "^8.0.2",
"typescript": "^4.3.5" "typescript": "^4.3.5"
}, },
@ -173,5 +172,15 @@
"last 1 safari version" "last 1 safari version"
] ]
}, },
"reactSnap": {
"puppeteerArgs": [
"--no-sandbox",
"--disable-setuid-sandbox"
],
"include": [
"/",
"/control"
]
},
"homepage": "" "homepage": ""
} }

Loading…
Cancel
Save