olovastart 0.0.1

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.
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Olova Performance Optimizations Plugin
3
+ *
4
+ * Provides build-time optimizations for SSG:
5
+ * - Code splitting strategies
6
+ * - Asset compression (gzip/brotli)
7
+ * - Chunk size analysis
8
+ * - Resource prioritization
9
+ */
10
+
11
+ interface PerformanceOptions {
12
+ /**
13
+ * Enable gzip compression for assets
14
+ * @default true
15
+ */
16
+ gzip?: boolean;
17
+ /**
18
+ * Enable brotli compression for assets
19
+ * @default true
20
+ */
21
+ brotli?: boolean;
22
+ /**
23
+ * Minimum file size (in bytes) to compress
24
+ * @default 1024 (1KB)
25
+ */
26
+ threshold?: number;
27
+ /**
28
+ * File extensions to compress
29
+ * @default ['js', 'css', 'html', 'json', 'svg', 'xml']
30
+ */
31
+ extensions?: string[];
32
+ /**
33
+ * Enable chunk size warnings
34
+ * @default true
35
+ */
36
+ chunkSizeWarning?: boolean;
37
+ /**
38
+ * Maximum chunk size before warning (in KB)
39
+ * @default 250
40
+ */
41
+ maxChunkSize?: number;
42
+ /**
43
+ * Enable route-based code splitting
44
+ * @default true
45
+ */
46
+ routeCodeSplitting?: boolean;
47
+ }
48
+
49
+ interface OlovaOptions {
50
+ /**
51
+ * Static paths to pre-render at build time
52
+ */
53
+ staticPaths?: string[];
54
+ /**
55
+ * Performance optimization options
56
+ */
57
+ performance?: PerformanceOptions & {
58
+ /**
59
+ * Enable all performance optimizations
60
+ * @default true
61
+ */
62
+ enabled?: boolean;
63
+ };
64
+ }
65
+ declare function olova(options?: OlovaOptions): any;
66
+
67
+ export { type OlovaOptions, olova };
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Olova Performance Optimizations Plugin
3
+ *
4
+ * Provides build-time optimizations for SSG:
5
+ * - Code splitting strategies
6
+ * - Asset compression (gzip/brotli)
7
+ * - Chunk size analysis
8
+ * - Resource prioritization
9
+ */
10
+
11
+ interface PerformanceOptions {
12
+ /**
13
+ * Enable gzip compression for assets
14
+ * @default true
15
+ */
16
+ gzip?: boolean;
17
+ /**
18
+ * Enable brotli compression for assets
19
+ * @default true
20
+ */
21
+ brotli?: boolean;
22
+ /**
23
+ * Minimum file size (in bytes) to compress
24
+ * @default 1024 (1KB)
25
+ */
26
+ threshold?: number;
27
+ /**
28
+ * File extensions to compress
29
+ * @default ['js', 'css', 'html', 'json', 'svg', 'xml']
30
+ */
31
+ extensions?: string[];
32
+ /**
33
+ * Enable chunk size warnings
34
+ * @default true
35
+ */
36
+ chunkSizeWarning?: boolean;
37
+ /**
38
+ * Maximum chunk size before warning (in KB)
39
+ * @default 250
40
+ */
41
+ maxChunkSize?: number;
42
+ /**
43
+ * Enable route-based code splitting
44
+ * @default true
45
+ */
46
+ routeCodeSplitting?: boolean;
47
+ }
48
+
49
+ interface OlovaOptions {
50
+ /**
51
+ * Static paths to pre-render at build time
52
+ */
53
+ staticPaths?: string[];
54
+ /**
55
+ * Performance optimization options
56
+ */
57
+ performance?: PerformanceOptions & {
58
+ /**
59
+ * Enable all performance optimizations
60
+ * @default true
61
+ */
62
+ enabled?: boolean;
63
+ };
64
+ }
65
+ declare function olova(options?: OlovaOptions): any;
66
+
67
+ export { type OlovaOptions, olova };