lib/install/react.rb in webpacker-3.2.0 vs lib/install/react.rb in webpacker-3.2.1

- old
+ new

@@ -20,9 +20,12 @@ end say "Copying react example entry file to #{Webpacker.config.source_entry_path}" copy_file "#{__dir__}/examples/react/hello_react.jsx", "#{Webpacker.config.source_entry_path}/hello_react.jsx" +say "Updating webpack paths to include .jsx file extension" +insert_into_file Webpacker.config.config_path, " - .jsx\n", after: /extensions:\n/ + say "Installing all react dependencies" run "yarn add react react-dom babel-preset-react prop-types" say "Webpacker now supports react.js 🎉", :green