A webpack project needs to be packaged into multiple production environment projects.
configure an array in prod.env.js to package according to the objects in the array
config:[{
id:"A1",
type:1,
host:"www.aaa.com"
},
{
id:"A2",
type:2,
host:"www.bbb.com"
}]
...
- how to complete multiple packaging operations dist-A1, dist-A2
- how to call configuration parameters id, type, host during multiple packaging