elit 3.0.7 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1412,10 +1412,11 @@ var require_package = __commonJS({
1412
1412
  "package.json"(exports2, module2) {
1413
1413
  module2.exports = {
1414
1414
  name: "elit",
1415
- version: "3.0.6",
1415
+ version: "3.0.9",
1416
1416
  description: "Optimized lightweight library for creating DOM elements with reactive state",
1417
1417
  main: "dist/index.js",
1418
1418
  module: "dist/index.mjs",
1419
+ browser: "dist/index.mjs",
1419
1420
  types: "dist/index.d.ts",
1420
1421
  bin: {
1421
1422
  elit: "./dist/cli.js"
@@ -1423,6 +1424,7 @@ var require_package = __commonJS({
1423
1424
  exports: {
1424
1425
  ".": {
1425
1426
  types: "./dist/index.d.ts",
1427
+ browser: "./dist/index.mjs",
1426
1428
  import: "./dist/index.mjs",
1427
1429
  require: "./dist/index.js"
1428
1430
  },
package/dist/index.mjs CHANGED
@@ -1,5 +1,3 @@
1
- import {createRequire as __createRequire} from 'module';const require = __createRequire(import.meta.url);
2
-
3
1
  // src/dom.ts
4
2
  function resolveElement(rootElement) {
5
3
  return typeof rootElement === "string" ? document.getElementById(rootElement.replace("#", "")) : rootElement;
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "elit",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "description": "Optimized lightweight library for creating DOM elements with reactive state",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
+ "browser": "dist/index.mjs",
7
8
  "types": "dist/index.d.ts",
8
9
  "bin": {
9
10
  "elit": "./dist/cli.js"
@@ -11,6 +12,7 @@
11
12
  "exports": {
12
13
  ".": {
13
14
  "types": "./dist/index.d.ts",
15
+ "browser": "./dist/index.mjs",
14
16
  "import": "./dist/index.mjs",
15
17
  "require": "./dist/index.js"
16
18
  },