Skip to content

Conversation

daphnesmit
Copy link

@daphnesmit daphnesmit commented Mar 1, 2021

fixes #542
I hope this fixes it according to https://zenuml.medium.com/window-is-undefined-in-umd-library-output-for-webpack4-858af1b881df

SSR issue appears for example in NextJS

Anybody looking here for a fix. I ported library (everything except the Modal functionality, because thats UI IMHO):
(I am planning to rewrite to Typescript. Make pr's I will check and merge!)
https://www.npmjs.com/package/prntr

@coveralls
Copy link

coveralls commented Mar 1, 2021

Pull Request Test Coverage Report for Build 342

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 48.241%

Totals Coverage Status
Change from base Build 341: 0.0%
Covered Lines: 239
Relevant Lines: 363

💛 - Coveralls

@daphnesmit
Copy link
Author

daphnesmit commented Jul 15, 2021

WHO WILL EVER MERGE THIS PRETTY PLEASE! @crabbly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Print JS has window in dist/print.js and therefor doesnt work on SSR
2 participants