@vercel/express 0.0.21 → 0.0.22

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -411,9 +411,16 @@ var rolldown = async (args) => {
411
411
  });
412
412
  for (const file of nftResult.fileList) {
413
413
  if (file.startsWith(relativeOutputDir)) {
414
- continue;
414
+ const stats = (0, import_fs2.lstatSync)(file);
415
+ const relPath = (0, import_path3.relative)(outputDir, file);
416
+ files[relPath] = new import_build_utils3.FileFsRef({
417
+ fsPath: file,
418
+ mode: stats.mode
419
+ });
420
+ } else {
421
+ const stats = (0, import_fs2.lstatSync)(file);
422
+ files[file] = new import_build_utils3.FileFsRef({ fsPath: file, mode: stats.mode });
415
423
  }
416
- files[file] = new import_build_utils3.FileFsRef({ fsPath: file, mode: 420 });
417
424
  }
418
425
  return {
419
426
  files,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/express",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "homepage": "https://vercel.com/docs",