Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

fix(infrastructure): support ssr by removing the reference from window #4864

Merged
merged 1 commit into from
Jun 28, 2019

Conversation

moog16
Copy link
Contributor

@moog16 moog16 commented Jun 28, 2019

related material-components/material-components-web-react#954

Confirmed that in v2.3.0 of drawer, the output.globalObject referenced this. In the webpack 4 update, this was changed to window. To support SSR and ensure that no breaking changes occur during the webpack 4 upgrade, I suggest this change.

@codecov-io
Copy link

codecov-io commented Jun 28, 2019

Codecov Report

Merging #4864 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4864   +/-   ##
=======================================
  Coverage   98.86%   98.86%           
=======================================
  Files         119      119           
  Lines        5650     5650           
  Branches      749      749           
=======================================
  Hits         5586     5586           
  Misses         63       63           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1d1b42a...c24414c. Read the comment docs.

@mdc-web-bot
Copy link
Collaborator

All 699 screenshot tests passed for commit c24414c vs. master! 💯🎉

@moog16 moog16 merged commit e5c5ea5 into master Jun 28, 2019
@moog16 moog16 deleted the fix/webpack4-ssr branch June 28, 2019 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants