refactor: Remove babel/register for instant production server startup (#1481)

* refactor: Remove babel/register for instant production server startup

* fix: Update procfile location

* fix: package.json must be copied, not linked for production build

* fix: Production file paths

* fix: Public assets path

* Remove unused scripts
This commit is contained in:
Tom Moor
2020-09-13 10:46:33 -07:00
committed by GitHub
parent 450d6b7e42
commit 608be3deef
14 changed files with 305 additions and 289 deletions

View File

@@ -16,7 +16,7 @@ const prefetchTags = [
try {
const manifest = fs.readFileSync(
path.join(__dirname, "../../dist/manifest.json"),
path.join(__dirname, "../../app/manifest.json"),
"utf8"
);
const manifestData = JSON.parse(manifest);