very minor thing
I needed multiple webpack for multiple env \ browsers. so instead of multiple config files my webpack configs is a function that returns an Object config.
const packer = (browserVendor, versionSupported, env?, ..) => {
return {
...
}
}
Potential benefits:
- reduced browser specific files.
- reduced npm scripts
- read all browser from array of objects.
would love to know your thoughts about this.
I needed multiple webpack for multiple env \ browsers. so instead of multiple config files my webpack configs is a function that returns an Object config.
Potential benefits:
would love to know your thoughts about this.