Pocket / front-end-build-tools

Modified Create React App for use with Pocket extensions
https://getpocket.com
MIT License
19 stars 7 forks source link

Build not generating expected output - missing some build files #12

Open nelsonomuto opened 5 years ago

nelsonomuto commented 5 years ago

Expected Behavior

Running yarn build should produce all the build artifacts required for a release as stated in the README.md instructions for production

Actual Behavior

yarn build is not producing a build that is missing some required files. Missing are newtab.html, options.html and the following js files that should be in the build/chrome/js folder:

background.bundle.js
key.js
login.bundle.js
logout.bundle.js
newtab.bundle.js
options.bundle.js

Steps to Reproduce the Problem

  1. Clone a fresh copy of the repo Pocket/extension-pocket-new-tab
  2. Copy the keys.js
  3. Run yarn build
  4. Run ls -R build/chrome

Specifications

nelsonomuto commented 5 years ago

I was able to reproduce this fairly consistently in macOS Mojave 10.14.4