Skip to content

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