How should the path of all files under the specified file be written by webpack?

< H1 > problem description < / H1 >
var PAGE_PATH = path.resolve(__dirname, "../src/pages")
var merge = require("webpack-merge")
exports.entries = function () {
 var entryFiles = glob.sync(PAGE_PATH + "/*/*.js")
 

js file under level 2 target under pages code above

I want to change to all the js files of pages. How do I change this?

Sep.24,2021

'/ * * / * .js'

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