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

@@ -9,7 +9,7 @@ require('dotenv').config({ silent: true });
module.exports = {
output: {
path: path.join(__dirname, 'dist'),
path: path.join(__dirname, 'build/app'),
filename: '[name].[hash].js',
publicPath: '/static/',
},