From 1684a31b4fe97fbc13c89d954eeb9b8ba2529e46 Mon Sep 17 00:00:00 2001 From: John Dillick Date: Tue, 15 Nov 2022 13:12:53 -0500 Subject: [PATCH 1/2] Build steps sequential to provide webpack-manifest for server build. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 08e572a..7fa22e9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "node build/.core/index.js", "test": "jest", - "build": "npm-run-all build:*", + "build": "run-s build:*", "build:gulp": "cross-env NODE_ENV=production gulp", "build:babel-core": "cross-env NODE_ENV=production babel .core --out-dir build/.core", "build:babel-reactium_modules": "cross-env NODE_ENV=production babel reactium_modules --out-dir build/reactium_modules", From 94233433cafec44d128347e2efbbff45fb308cf1 Mon Sep 17 00:00:00 2001 From: John Dillick Date: Tue, 15 Nov 2022 13:32:36 -0500 Subject: [PATCH 2/2] Copy files that are not compiled with src babel compile. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fa22e9..b30296d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build:gulp": "cross-env NODE_ENV=production gulp", "build:babel-core": "cross-env NODE_ENV=production babel .core --out-dir build/.core", "build:babel-reactium_modules": "cross-env NODE_ENV=production babel reactium_modules --out-dir build/reactium_modules", - "build:babel-src": "cross-env NODE_ENV=production babel src --out-dir build/src", + "build:babel-src": "cross-env NODE_ENV=production babel src --out-dir build/src --copy-files", "heroku-prebuild": "npx -p @atomic-reactor/cli arcli install", "static": "npm-run-all build:* && gulp static", "local": "gulp local",