chore: 一点点小的改动。
This commit is contained in:
parent
b199361bf1
commit
5ea803c8a4
@ -2,7 +2,7 @@ const { ServiceRegister } = require("configuration");
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devServer: (devServerConfig) => {
|
devServer: (devServerConfig) => {
|
||||||
devServerConfig.open = false;
|
devServerConfig.port = "auto";
|
||||||
devServerConfig.onListening = function (devServer) {
|
devServerConfig.onListening = function (devServer) {
|
||||||
if (!devServer) {
|
if (!devServer) {
|
||||||
throw new Error("webpack-dev-server is not defined");
|
throw new Error("webpack-dev-server is not defined");
|
||||||
|
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -8,7 +8,7 @@
|
|||||||
"name": "chrome",
|
"name": "chrome",
|
||||||
"type": "chrome",
|
"type": "chrome",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"url": "http://fennec.localhost/",
|
"url": "http://fennec.localhost:7070/",
|
||||||
"webRoot": "${workspaceFolder}",
|
"webRoot": "${workspaceFolder}",
|
||||||
"userDataDir": ".vscode/chrome"
|
"userDataDir": ".vscode/chrome"
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
"yup": "^0.32.9"
|
"yup": "^0.32.9"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "craco start",
|
"start": "BROWSER=none craco start",
|
||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
"test": "craco test",
|
"test": "craco test",
|
||||||
"prestart": "npm run graphql",
|
"prestart": "npm run graphql",
|
||||||
|
Loading…
Reference in New Issue
Block a user