How to configure webpack under create-react-app to solve the problem that moment.js is fully packaged?

moment.js is fully packaged under webpack. I searched
and need to configure it in webpack.config.js

.
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),

but there is no webpack.config.js in create-react-app to ask how to solve the problem

Mar.06,2021

clipboard.png

Source reference: https://github.com/jmblog/how.


you can expose the configuration of create-react-app to the outer layer to change it at will. npm run eject
comes with a learning method. Tool class with command line, search for xxx command

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-1b364fe-2c01a.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-1b364fe-2c01a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?