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

Fix nodeExternals in the precompiling-with-webpack recipe #1310

Merged
merged 3 commits into from
Mar 15, 2017
Merged

Fix nodeExternals in the precompiling-with-webpack recipe #1310

merged 3 commits into from
Mar 15, 2017

Conversation

screendriver
Copy link
Contributor

@screendriver screendriver commented Mar 15, 2017

Fixed nodeExternals in webpack.config.js because the provided example did not work. externals have to be an array and nodeExternals is a function that must be called and not referenced.

@sindresorhus
Copy link
Member

sindresorhus commented Mar 15, 2017

Don't change the indentation and describe what you fixed and why.

@screendriver
Copy link
Contributor Author

Ok. May I ask why? The original indentation was tabs and not spaces. Is it preferred to use tabs?

@screendriver
Copy link
Contributor Author

By the way: fixed.

@sindresorhus
Copy link
Member

Is it preferred to use tabs?

Yes, that's what we use.

@screendriver
Copy link
Contributor Author

Oki doki. I fixed that ☺️

@sindresorhus sindresorhus changed the title Fixed nodeExternals in precompiling-with-webpack.md Fix nodeExternals in the precompiling-with-webpack recipe Mar 15, 2017
@sindresorhus sindresorhus merged commit bb5a0de into avajs:master Mar 15, 2017
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