@netlify/build 18.10.0 → 18.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build",
3
- "version": "18.10.0",
3
+ "version": "18.11.0",
4
4
  "description": "Netlify build module",
5
5
  "main": "src/core/main.js",
6
6
  "bin": {
@@ -59,7 +59,7 @@
59
59
  "@netlify/plugin-edge-handlers": "^1.11.22",
60
60
  "@netlify/plugins-list": "^3.6.0",
61
61
  "@netlify/run-utils": "^2.0.0",
62
- "@netlify/zip-it-and-ship-it": "^4.21.0",
62
+ "@netlify/zip-it-and-ship-it": "^4.21.1",
63
63
  "@sindresorhus/slugify": "^1.1.0",
64
64
  "@ungap/from-entries": "^0.2.1",
65
65
  "ansi-escapes": "^4.3.2",
@@ -18,6 +18,7 @@ const getFeatureFlag = function (name) {
18
18
  // Default values for feature flags
19
19
  const DEFAULT_FEATURE_FLAGS = {
20
20
  zisiEsbuildDynamicImports: env.NETLIFY_EXPERIMENTAL_PROCESS_DYNAMIC_IMPORTS === 'true',
21
+ buildbot_es_modules_esbuild: false,
21
22
  }
22
23
 
23
24
  module.exports = { normalizeCliFeatureFlags, DEFAULT_FEATURE_FLAGS }
@@ -56,8 +56,11 @@ const getZisiParameters = ({ buildDir, featureFlags, functionsConfig, functionsD
56
56
  expression,
57
57
  normalizeFunctionConfig({ buildDir, featureFlags, functionConfig: object, isRunningLocally }),
58
58
  ])
59
+ const zisiFeatureFlags = {
60
+ defaultEsModulesToEsbuild: featureFlags.buildbot_es_modules_esbuild,
61
+ }
59
62
 
60
- return { basePath: buildDir, config, manifest }
63
+ return { basePath: buildDir, config, manifest, featureFlags: zisiFeatureFlags }
61
64
  }
62
65
 
63
66
  const zipFunctionsAndLogResults = async ({