ezfw-core 1.0.5 → 1.0.7

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.
Files changed (2) hide show
  1. package/modules.ts +10 -0
  2. package/package.json +5 -1
package/modules.ts ADDED
@@ -0,0 +1,10 @@
1
+ // Lazy loaders for all framework modules
2
+ // These are evaluated at build time by Vite
3
+
4
+ export const frameworkModules = import.meta.glob('./**/*.{js,ts}', {
5
+ eager: false
6
+ });
7
+
8
+ export const frameworkStyles = import.meta.glob('./**/*.module.scss', {
9
+ eager: false
10
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ezfw-core",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Ez Framework - A declarative component framework for building modern web applications",
5
5
  "type": "module",
6
6
  "main": "./core/ez.ts",
@@ -11,12 +11,16 @@
11
11
  "import": "./core/ez.ts",
12
12
  "types": "./core/ez.ts"
13
13
  },
14
+ "./modules": {
15
+ "import": "./modules.ts"
16
+ },
14
17
  "./*": "./*"
15
18
  },
16
19
  "files": [
17
20
  "core",
18
21
  "components",
19
22
  "services",
23
+ "modules.ts",
20
24
  "template",
21
25
  "themes",
22
26
  "types",