From 5338403660aeba4cea35d3081ed1a97cb4135149 Mon Sep 17 00:00:00 2001 From: Pavel Kozlov Date: Fri, 3 Mar 2023 16:55:42 +0000 Subject: [PATCH] propagate noBuild option to buildpack --- index.js | 1 + src/config.js | 1 + 2 files changed, 2 insertions(+) diff --git a/index.js b/index.js index cbe5466a..7b0fc60d 100644 --- a/index.js +++ b/index.js @@ -37,6 +37,7 @@ function applyWebpackOptions(custom, config) { excludeFiles: config.options.excludeFiles, excludeRegex: /bundle_stats\.(html|json)$/, keepOutputDirectory: config.options.generateStatsFiles, + noBuild: config.options.noBuild, }; } diff --git a/src/config.js b/src/config.js index 9e8e4d88..1aca4b9d 100644 --- a/src/config.js +++ b/src/config.js @@ -19,6 +19,7 @@ module.exports = { ignorePackages: [], packagerOptions: {}, generateStatsFiles: false, + noBuild: false, tsConfig: "tsconfig.json", // Exclude aws-sdk since it's available in the Lambda runtime forceExclude: ["aws-sdk"],