React scaffolding project-problem

problem description

The config folder is exposed after

npm run eject, and there are no files webpack.config.dev.js and webpack.config.prod.js .

the environmental background of the problems and what methods you have tried

there are hundreds of related problems, but they have not been accurately explained and the root causes of the problems

related codes

/ / Please paste the code text below (do not replace the code with pictures)
config folder only:
jest folder
env.js
paths.js
webpack.config.js
webpackDevsever.config.js

scripts folder:
build.js
start.js
test.js

what result do you expect? What is the error message actually seen?

Please tell me why there are no webapck.config.dev.js and webpack.config.prod.js files? I am in a hurry. I would like to give you some advice. Thank you here.

Jun.10,2022

the old version is divided into two configuration files, and the new version integrates the configuration into one file directly through branching logic, in order to reduce duplicate configuration items.


config has two fields, isEnvProduction and isEnvDevelopment, that distinguish between development and production environments.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e865f7-dd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e865f7-dd1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?