Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 26 #27

Merged
merged 2 commits into from
Dec 11, 2018
Merged

Issue 26 #27

merged 2 commits into from
Dec 11, 2018

Conversation

gitgrimbo
Copy link
Contributor

Run in Node without errors

The tests used to always mock window and document because the tests were
always run in a Node environment, and therefore these objects did not
exist.

This change lets webpack-amdi18n-loader run in a Node environment by
testing for the existence of window/document before attempting to use
them.

The tests used to always mock window and document because the tests were
always run in a Node environment, and therefore these objects did not
exist.

This change lets webpack-amdi18n-loader run in a Node environment by
testing for the existence of window/document before attempting to use
them.
@TooBug TooBug merged commit b6dd25a into futuweb:master Dec 11, 2018
@TooBug
Copy link
Contributor

TooBug commented Dec 11, 2018

Merged, thanks. I'll release a new version ASAP.

@TooBug
Copy link
Contributor

TooBug commented Dec 14, 2018

released in 0.9.0.

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.

2 participants