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

Explain how to set production webpack alias in readme #134

Open
nickserv opened this issue Aug 13, 2017 · 0 comments
Open

Explain how to set production webpack alias in readme #134

nickserv opened this issue Aug 13, 2017 · 0 comments

Comments

@nickserv
Copy link

This part of the readme makes sense to me conceptually:

You probably don't want to call it if you're in production, and better yet, alias the module to nothing with webpack in production.

However, it's not clear to me where to find information in the webpack 2+ docs on how I can actually set an empty alias. Can we please either add a documentation/article link or a code snippet to the readme next to this? I would expect this to be used frequently.

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

No branches or pull requests

2 participants