diff --git a/bits/performance-helpers.mjs.svg b/bits/performance-helpers.mjs.svg new file mode 100644 index 0000000..f373c2c --- /dev/null +++ b/bits/performance-helpers.mjs.svg @@ -0,0 +1 @@ +1.54kb \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4678f45..2d83f04 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "reflex-dom", - "version": "0.22.0", + "version": "0.22.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "reflex-dom", - "version": "0.22.0", + "version": "0.22.1", "license": "MIT", "devDependencies": { "@zouloux/static-http": "^1.0.1", diff --git a/package.json b/package.json index db34028..eee6272 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "reflex-dom", "type": "module", - "version": "0.22.0", + "version": "0.22.1", "description": "Reflex is a tiny and fast reactive UI library.", "author": "Alexis Bouhet (ZoulouX)", "license": "MIT", - "main": "./dist/index.es2017.cjs", + "main": "./dist/index.es2020.mjs", "module": "./dist/index.es2020.mjs", "unpkg": "./dist/reflex.es2017.min.js", "types": "./dist/index.d.ts", @@ -17,6 +17,25 @@ "./render-to-string": "./dist/render-to-string.es2020.mjs", "./performance-helpers": "./dist/performance-helpers.es2020.mjs" }, + "typesVersions": { + "*": { + "hmr-plugin": [ + "dist/hmr-plugin.d.ts" + ], + "hmr-runtime": [ + "dist/hmr-runtime.d.ts" + ], + "debug": [ + "dist/debug.d.ts" + ], + "render-to-string": [ + "dist/render-to-string.d.ts" + ], + "performance-helpers": [ + "dist/performance-helpers.d.ts" + ] + } + }, "scripts": { "reset": "rm -rf node_modules package-lock.json && npm i", "clean": "rm -rf ./dist/*", @@ -47,7 +66,6 @@ }, "output": "./dist", "formats": [ - "es2017.cjs", "es2020.mjs" ], "files": [ @@ -69,7 +87,6 @@ }, { "formats": [ - "es2017.cjs", "es2020.mjs", "es2017.min.js" ],