canvas-lms/packages/ember
Ahmad Amireh a4e42130c9 (webpack) ESM-ify Ember
refs FOO-2835
flag = none

re-package the Ember framework file as an ES module so that we can
finally engage a native ESM build. This involved two things:

(1) scanning for all member properties of the Ember/CommonJS export and
    re-exporting them as ESM specifiers
(2) importing dependencies instead of expecting them to be injected into
    Ember.imports, which no longer exists

Ember is still exposed as a global on window due to how Ember.lookup
works. Additionally, we now import only the runtime portion of the
Handlebars packagei as intended.

~ test plan ~

visit individual gradebook and verify that (1) it works, (2) you can
"Select a student" under Content Selection, and (3) you can "Select an
assignment" under Content selection. The page should work exactly as it
did before.

Change-Id: Id7817869803d0722b791e79279ad2b69c5e7dca1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/294129
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Charley Kline <ckline@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Ahmad Amireh <ahmad@instructure.com>
2022-06-17 17:32:05 +00:00
..
.bower.json
.eslintignore
.gitignore
.xssignore
Makefile
README.md
bower.json
component.json
composer.json
ember-template-compiler.js (webpack) ESM-ify Ember 2022-06-17 17:32:05 +00:00
ember.min.js
ember.mjs (webpack) ESM-ify Ember 2022-06-17 17:32:05 +00:00
ember.prod.js
index.mjs (webpack) ESM-ify Ember 2022-06-17 17:32:05 +00:00
package.json (webpack) ESM-ify Ember 2022-06-17 17:32:05 +00:00

README.md

Ember.js

Shim repository for Ember Application Framework.

This package provides the core of the ember.js framework.

Package Managers