File: build-commonjs-files.patch

package info (click to toggle)
node-https-proxy-agent 5.0.1%2B~cs8.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 348 kB
  • sloc: javascript: 714; exp: 9; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: export commonjs files
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2021-10-14

--- a/tootallnate-once/package.json
+++ b/tootallnate-once/package.json
@@ -3,7 +3,8 @@
   "version": "3.0.0",
   "description": "Creates a Promise that waits for a single event",
   "type": "module",
-  "main": "./dist/index.js",
+  "main": "./dist/index.cjs",
+  "module": "./dist/index.cjs",
   "types": "./dist/index.d.ts",
   "files": [
     "dist",