chore: 一点点小的改动。

This commit is contained in:
Ivan Li 2021-09-26 17:29:46 +08:00
parent b199361bf1
commit 5ea803c8a4
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ const { ServiceRegister } = require("configuration");
module.exports = {
devServer: (devServerConfig) => {
devServerConfig.open = false;
devServerConfig.port = "auto";
devServerConfig.onListening = function (devServer) {
if (!devServer) {
throw new Error("webpack-dev-server is not defined");

2
.vscode/launch.json vendored
View File

@ -8,7 +8,7 @@
"name": "chrome",
"type": "chrome",
"request": "launch",
"url": "http://fennec.localhost/",
"url": "http://fennec.localhost:7070/",
"webRoot": "${workspaceFolder}",
"userDataDir": ".vscode/chrome"
}

View File

@ -44,7 +44,7 @@
"yup": "^0.32.9"
},
"scripts": {
"start": "craco start",
"start": "BROWSER=none craco start",
"build": "craco build",
"test": "craco test",
"prestart": "npm run graphql",