Created by: fson
Remove the include
setting from webpack loaders for CSS, JSON and other static assets.
This way it's possible to import files from a separate config folder, a parent directory etc.
Fixes #497 (closed).
Test plan:
Created a test-config.json
with contents {}
in the root folder of create-react-app
and added import '../../test-config.json';
to template/src/App.js
. The app started and was built successfully.