Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5144

Update postcss-preset-env and Babel to account for more recent Electron or use shared webpack config

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Tech debt
    • None
    • 3
    • Not Needed

      https://github.com/mongodb-js/compass/pull/2438#discussion_r722532814

      `postcss-preset-env` browser list wasn't finding electron 13.5
      I don't think this is a blocker since building for electron 6 browser env is ok, but we should update it.

      Similairly in many of the packages there are `.browserlistrc` files which define the browser target for babel. Currently they are all `Electron >= 6` we should update them to `Electron >= 13`, but it will take some work updating babel deps and config I think. Could happen post merge of this even, but we should do it sooner vs later.

      If it's easily done we should instead update the packages to use the shared `@mongodb-js/webpack-config-compass` package instead of updating individual webpacks/babels/browserlists.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: