mirror of
https://github.com/kou029w/megabit.git
synced 2025-01-30 21:58:04 +00:00
fix exports format
This commit is contained in:
parent
d9be61a282
commit
487132022b
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "megabit",
|
"name": "megabit",
|
||||||
"version": "1.0.0-beta.0",
|
"version": "1.0.0-beta.1",
|
||||||
"description": "Connect real things with Node.js",
|
"description": "Connect real things with Node.js",
|
||||||
"main": "cjs/index.js",
|
"main": "cjs/index.js",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"exports": {
|
"exports": {
|
||||||
"import": "./esm/index.js"
|
"import": "./esm/index.js",
|
||||||
|
"require": "./cjs/index.js"
|
||||||
},
|
},
|
||||||
"module": "esm/index.js",
|
"module": "esm/index.js",
|
||||||
"types": "cjs/index.d.js",
|
"types": "cjs/index.d.js",
|
||||||
|
|
Loading…
Add table
Reference in a new issue