Skip to content

Rollback CC upgrade (#18552)#18600

Merged
dreamofabear merged 1 commit intoampproject:masterfrom
dreamofabear:revert-cc-upgrade
Oct 8, 2018
Merged

Rollback CC upgrade (#18552)#18600
dreamofabear merged 1 commit intoampproject:masterfrom
dreamofabear:revert-cc-upgrade

Conversation

@dreamofabear
Copy link
Copy Markdown

@dreamofabear dreamofabear commented Oct 8, 2018

Rolls back #18552 to unbreak master. There are a few problems of modules not being resolved correctly, for example from src/polyfills/promise.js:

a.Promise || (a.Promise = module$node_modules$promise_pjs$promise,
module$node_modules$promise_pjs$promise.default && (a.Promise = module$node_modules$promise_pjs$promise.default),
a.Promise.resolve = module$node_modules$promise_pjs$promise.resolve,
a.Promise.reject = module$node_modules$promise_pjs$promise.reject,
a.Promise.all = module$node_modules$promise_pjs$promise.all,
a.Promise.race = module$node_modules$promise_pjs$promise.race)

There are 12 instances of these undefined module$foo$bar aliases in v0.js. The other problematic module is:

module$node_modules$document_register_element$build$document_register_element_patched.installCustomElements

I'll roll forward again when I figure out what the issue with node_modules/ imports is.

Copy link
Copy Markdown
Contributor

@kristoferbaxter kristoferbaxter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:( Let me know if I can help with fixing the issues.

@dreamofabear dreamofabear merged commit 6fd3044 into ampproject:master Oct 8, 2018
@dreamofabear dreamofabear deleted the revert-cc-upgrade branch October 8, 2018 17:44
dreamofabear pushed a commit to dreamofabear/amphtml that referenced this pull request Oct 8, 2018
dreamofabear pushed a commit that referenced this pull request Oct 10, 2018
* Revert "Revert CC upgrade. (#18600)"

This reverts commit 6fd3044.

* Remove node_modules/ from js_module_root.

* Fix swg.js again.

* Increase bundle size cap to 82.2.

* Inject react-dates bundle post-compile instead of importing in code.

* Typecast react-dates imports in amp-date-picker.

* Bump bundle-size.

* Restore --js_module_root for 1-pass.

* Remove obsolete 'erwinmHack'.
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Oct 18, 2018
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Oct 18, 2018
* Revert "Revert CC upgrade. (ampproject#18600)"

This reverts commit 6fd3044.

* Remove node_modules/ from js_module_root.

* Fix swg.js again.

* Increase bundle size cap to 82.2.

* Inject react-dates bundle post-compile instead of importing in code.

* Typecast react-dates imports in amp-date-picker.

* Bump bundle-size.

* Restore --js_module_root for 1-pass.

* Remove obsolete 'erwinmHack'.
Enriqe pushed a commit to Enriqe/amphtml that referenced this pull request Nov 28, 2018
Enriqe pushed a commit to Enriqe/amphtml that referenced this pull request Nov 28, 2018
* Revert "Revert CC upgrade. (ampproject#18600)"

This reverts commit 6fd3044.

* Remove node_modules/ from js_module_root.

* Fix swg.js again.

* Increase bundle size cap to 82.2.

* Inject react-dates bundle post-compile instead of importing in code.

* Typecast react-dates imports in amp-date-picker.

* Bump bundle-size.

* Restore --js_module_root for 1-pass.

* Remove obsolete 'erwinmHack'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants