@netlify/edge-bundler 14.8.6 → 14.8.7

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.
@@ -61,6 +61,9 @@ export const bundle = async (sourceDirectories, distDirectory, tomlDeclarations
61
61
  rootPath: rootPath ?? basePath,
62
62
  vendorDirectory,
63
63
  });
64
+ if (vendor) {
65
+ importMap.add(vendor.importMap);
66
+ }
64
67
  const bundles = [];
65
68
  if (featureFlags.edge_bundler_generate_tarball || featureFlags.edge_bundler_dry_run_generate_tarball) {
66
69
  const tarballPromise = bundleTarball({
@@ -92,9 +95,6 @@ export const bundle = async (sourceDirectories, distDirectory, tomlDeclarations
92
95
  bundles.push(await tarballPromise);
93
96
  }
94
97
  }
95
- if (vendor) {
96
- importMap.add(vendor.importMap);
97
- }
98
98
  bundles.push(await bundleESZIP({
99
99
  basePath,
100
100
  buildID,
@@ -44,6 +44,7 @@ export const bundle = async ({ basePath, buildID, deno, distDirectory, functions
44
44
  '--quiet',
45
45
  '--code-splitting',
46
46
  '--allow-import',
47
+ '--node-modules-dir=manual',
47
48
  '--outdir',
48
49
  bundleDir.path,
49
50
  ...functions.map((func) => func.path),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/edge-bundler",
3
- "version": "14.8.6",
3
+ "version": "14.8.7",
4
4
  "description": "Intelligently prepare Netlify Edge Functions for deployment",
5
5
  "type": "module",
6
6
  "main": "./dist/node/index.js",
@@ -80,5 +80,5 @@
80
80
  "urlpattern-polyfill": "8.0.2",
81
81
  "uuid": "^11.0.0"
82
82
  },
83
- "gitHead": "d06afd68ce1f02ded5735e7ab004471707560575"
83
+ "gitHead": "ef6aea3b70696540950c44602c559d040388af23"
84
84
  }