canvas-lms/ui/ext
Ahmad Amireh c8fba8e2e5 babel independence(1): webpack
refs FOO-2697
flag = none

stop relying on @instructure/ui-babel-preset and instead use exactly the
transforms that we still need today from Babel

transformations that appear to be no longer necessary:

- plugin-transform-destructuring
- plugin-proposal-decorators
- plugin-proposal-class-properties
- plugin-proposal-export-default-from
- plugin-proposal-object-rest-spread
- plugin-proposal-optional-chaining
- plugin-syntax-dynamic-import
- plugin-proposal-private-methods
- postcss et al (we only import 3-4 css sources and they all come from
  node_modules, we don't use themeable on core)

transformations that i don't think are necessary:

- babel-plugin-transform-undefined-to-void: because if there is code
  that is re-assigning `undefined`, the solution would be not to humor
  it but to stop using it and perhaps file a lawsuit

babel deps were pinned to avoid semver upgrading, because upgrading
within the 7 line is already breaking us and i'll deal with that
another day

~ TEST PLAN ~
\ ---- ---- /

- you can run webpack locally and see no visual artifacts

Change-Id: I64eb9a7ac94e17f730686f579cf67cd8bd4e12f2
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/283142
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Sean Scally <sean.scally@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
Product-Review: Charley Kline <ckline@instructure.com>
QA-Review: Charley Kline <ckline@instructure.com>
2022-02-03 18:54:11 +00:00
..
custom_moment_locales
custom_timezone_locales add support for Thai (th) locale 2021-11-17 22:46:39 +00:00