The npm command passes parameters to the webpack configuration file

how do I use the npm command to run script, in webpack on the command line to pass parameters to the webpack configuration file on the command line? At present, we know a way to pass npm run create-app=test-router=1-store=1, but it is too troublesome, is there any simple way to pass parameters?

in package.json

"scripts": {
    "create": "cross-env NODE_ENV=development node ./build/generate.js --app --store --router"
},

Command Line npm

npm run create  
Feb.24,2022

as far as I know, not anymore. If it really doesn't work, configure a few more commonly used npm script commands according to your usage, and that's how npm is passed.

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