feat: add feature plugin tests and validation for feature flags

This commit is contained in:
2026-06-21 03:14:19 +07:00
parent ecc958c9f0
commit 1ee76faf55
65 changed files with 4992 additions and 415 deletions
+7
View File
@@ -0,0 +1,7 @@
export default {
name: 'base',
features: { billing: true, shared: 'base', nested: { on: true } },
hooks: {
'layers:resolved': () => {},
},
}
@@ -0,0 +1 @@
<svg><!-- base favicon --></svg>

After

Width:  |  Height:  |  Size: 33 B

@@ -0,0 +1 @@
<svg><!-- base logo --></svg>

After

Width:  |  Height:  |  Size: 30 B

@@ -0,0 +1 @@
<template><footer>base footer</footer></template>
@@ -0,0 +1 @@
<template><header>base header</header></template>
@@ -0,0 +1 @@
<template><div>billing</div></template>