mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Add special .node.cjs variant for CJS support
This commit is contained in:
+2
-2
@@ -7,13 +7,13 @@
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"main": "./dist/modules/src/index.js",
|
||||
"main": "./dist/bundles/mediabunny.node.cjs",
|
||||
"module": "./dist/modules/src/index.js",
|
||||
"types": "./dist/modules/src/index.d.ts",
|
||||
"exports": {
|
||||
"types": "./dist/modules/src/index.d.ts",
|
||||
"import": "./dist/modules/src/index.js",
|
||||
"require": "./dist/modules/src/index.js"
|
||||
"require": "./dist/bundles/mediabunny.node.cjs"
|
||||
},
|
||||
"files": [
|
||||
"README.md",
|
||||
|
||||
Reference in New Issue
Block a user