Skip to content

Webpack.browser.js #2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions