Skip to content

Webpack.browser.js #2

@zouhir

Description

@zouhir

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.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions