From 9d03408513ef761bc93aaa73e06e672944cc76cb Mon Sep 17 00:00:00 2001 From: ICheered Date: Sat, 5 Aug 2023 12:14:43 +0200 Subject: [PATCH] Set type: module in package.json for exporting functions using ESM syntax --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9a4acc2..b76f041 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "web-gphoto2", - "version": "0.1.0", + "version": "1.0.0", "description": "WebAssembly implementation of gphoto2 and libusb to control DSLR cameras over USB on the Web", + "type": "module", "main": "src/camera.js", "types": "src/libapi.mjs.d.ts", "scripts": {