title: how to get webpack to pack all js/jsx files when using AWS Amplify and create-react-app
body: <p>I've create a react app using create-react-app and aws-amplify. Now if I do &quot;npm run build&quot; locally it creates a ./build folder with all of my src files nicely webpacked.
  However when I push the files to github for aws amplify to pull+build it doesnt webpack them and all of my js/jsx files are visible in their original structure. There is a webpack folder and a main.hash.js file but thats it.</p>
  <pre><code>version: 1
  frontend:
    phases:
      preBuild:
        commands:
          - npm ci
      build:
        commands:
          - npm run build
    artifacts:
      baseDirectory: build
      files:
        - '**/*'
    cache:
      paths:
        - node_modules/**/*
  </code></pre>
  <p>This is the build config in Amplify.
  Does anyone know how I get it to build all of my src files with webpack so I get a series of *.hash.js files?</p>
  <p>thanks</p>