- I am bundling using Webpack 4.
- I have multiple Webpack configurations exported in
webpack.config.js
. - First configuration is to bundle lient code targeting browsers.
- Second configuration is to bundle server code targeting node.
- I am specifying these browsers and node targets using browserslist in
package.json
.
I need to specify different browserslists for client and server bundles, but I only have one browserslist key in package.json
.
How can I specify different browserslists using package.json?