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

ReferenceError: window is not defined #270

Closed
willin opened this issue Apr 28, 2016 · 3 comments
Closed

ReferenceError: window is not defined #270

willin opened this issue Apr 28, 2016 · 3 comments

Comments

@willin
Copy link

willin commented Apr 28, 2016

    isOldIE = memoize(function() {
            return /msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase());
        }),
@bebraw
Copy link
Contributor

bebraw commented May 3, 2016

Where is that coming from? I don't see that in css-loader.

@psimyn
Copy link

psimyn commented May 9, 2016

looks like it comes from style-loader https://github.com/webpack/style-loader/blob/master/addStyles.js#L13

Dupe of this I suspect webpack-contrib/style-loader#109

@willin is style-loader output being used for server-side code?

@bebraw
Copy link
Contributor

bebraw commented May 9, 2016

@psimyn Good catch! I'll close this in favor of that then.

@bebraw bebraw closed this as completed May 9, 2016
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

No branches or pull requests

3 participants