Skip to content

Commit 548adbe

Browse files
committed
fix change files prop
1 parent f70a917 commit 548adbe

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
"name": "@zumer/snapdom",
33
"version": "0.9.0",
44
"description": "snapDOM captures DOM elements as images with exceptional speed and minimal overhead. Designed to avoid bottlenecks and long tasks.",
5-
"main": "src/index.js",
5+
"main": "dist/snapdom.js",
6+
"module": "dist/snapdom.mjs",
7+
"exports": {
8+
".": {
9+
"import": "./dist/snapdom.mjs",
10+
"require": "./dist/snapdom.js"
11+
}
12+
},
613
"scripts": {
714
"test": "npx vitest run --browser.headless --reporter=verbose",
815
"test:benchmark": "npx vitest bench --browser.headless --watch=false",

0 commit comments

Comments
 (0)