Recently, I learned from webpack that common.js, would like to ask what environment common.js should run in.

I created a new js file, and when I called the require method in it, I was prompted that the require method was not defined. Is common.js a library like jquery that needs to be referenced first?

Mar.02,2021

commonjs is generally found in node 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-1eb35e7-48220.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-1eb35e7-48220.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?