Documentation: update install commands and babel config#13853
Documentation: update install commands and babel config#13853
Conversation
gziolo
left a comment
There was a problem hiding this comment.
I'm not quite sure why --save-exact solves this issue given that both webpack and @wordpress/scripts follow semantic versioning. However if that helps, I'm fine with the changes proposed.
|
@gziolo |
|
It might be something about the dependencies included by |
|
The root problem seems related to |
|
Do you know what is using Babel 6 specific packages causing babel-loader@7 to be pulled in? |
|
@gziolo not sure I follow. Here's what I know:
I chose to go with the first option because that's what Gutenberg uses. |
Why would you want to install it in the first place?
Yes, this is highly expected. |
This PR fixes some problems I ran into when following the current guide. It also promotes the use of
--save-exactas a good hygiene practice.