fix npm package files and bump version

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent fe174248e1
commit 14dac7c0cc

View File

@@ -1,6 +1,6 @@
{ {
"name": "rrweb-snapshot", "name": "rrweb-snapshot",
"version": "0.4.0", "version": "0.4.2",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer", "description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/module.js", "module": "dist/module.js",
@@ -18,7 +18,9 @@
"DOM" "DOM"
], ],
"files": [ "files": [
"dist" "dist",
"index.d.ts",
"src/types.ts"
], ],
"author": "yanzhen@smartx.com", "author": "yanzhen@smartx.com",
"license": "MIT", "license": "MIT",