diff options
author | Yadd <yadd@debian.org> | 2021-10-15 10:12:15 +0200 |
---|---|---|
committer | Andrej Shadura <andrewsh@debian.org> | 2021-10-15 10:12:15 +0200 |
commit | ec2beb01162a52047e6cfddc07d344533b432792 (patch) | |
tree | 28a1642e64238519a3dc66155875653008a54db9 | |
parent | 8bfdd891f2d1e743f217188b4e3929f431143561 (diff) |
commonjs for node 12
Forwarded: not-needed
Last-Update: 2021-10-10
Gbp-Pq: Name strip-css-comments.commonjs.patch
-rw-r--r-- | strip-css-comments/package.json | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/strip-css-comments/package.json b/strip-css-comments/package.json index 87471c2..e7d4c5d 100644 --- a/strip-css-comments/package.json +++ b/strip-css-comments/package.json @@ -11,7 +11,11 @@ "url": "https://sindresorhus.com" }, "type": "module", - "exports": "./index.js", + "main": "index.cjs", + "exports": { + "import": "./index.js", + "require": "./index.cjs" + }, "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, @@ -20,6 +24,7 @@ "bench": "matcha bench.js" }, "files": [ + "index.cjs", "index.js", "index.d.ts" ], |