File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ const config = defineMain({
137137 features : {
138138 developmentModeForBuild : true ,
139139 experimentalTestSyntax : true ,
140- experimental_componentsManifest : true ,
140+ experimentalComponentsManifest : true ,
141141 } ,
142142 staticDirs : [ { from : './bench/bundle-analyzer' , to : '/bundle-analyzer' } ] ,
143143 viteFinal : async ( viteConfig , { configType } ) => {
Original file line number Diff line number Diff line change @@ -165,9 +165,9 @@ export async function buildStaticStandalone(options: BuildStaticStandaloneOption
165165 )
166166 ) ;
167167
168- if ( features ?. experimental_componentsManifest ) {
168+ if ( features ?. experimentalComponentsManifest ) {
169169 const componentManifestGenerator : ComponentManifestGenerator = await presets . apply (
170- 'componentManifestGenerator '
170+ 'experimental_componentManifestGenerator '
171171 ) ;
172172 const indexGenerator = await initializedStoryIndexGenerator ;
173173 if ( componentManifestGenerator && indexGenerator ) {
Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ export async function storybookDevServer(options: Options) {
137137 }
138138
139139 const features = await options . presets . apply ( 'features' ) ;
140- if ( features ?. experimental_componentsManifest ) {
140+ if ( features ?. experimentalComponentsManifest ) {
141141 app . use ( '/manifests/components.json' , async ( req , res ) => {
142142 try {
143143 const componentManifestGenerator : ComponentManifestGenerator = await options . presets . apply (
144- 'componentManifestGenerator '
144+ 'experimental_componentManifestGenerator '
145145 ) ;
146146 const indexGenerator = await initializedStoryIndexGenerator ;
147147 if ( componentManifestGenerator && indexGenerator ) {
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ export interface StorybookConfigRaw {
472472 /** Only show input controls in Angular */
473473 angularFilterNonInputControls ?: boolean ;
474474
475- experimental_componentsManifest ?: boolean ;
475+ experimentalComponentsManifest ?: boolean ;
476476 } ;
477477
478478 build ?: TestBuildConfig ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const addons: PresetProperty<'addons'> = [
88 import . meta. resolve ( '@storybook/react-dom-shim/preset' ) ,
99] ;
1010
11- export { componentManifestGenerator } from './componentManifest/generator' ;
11+ export { componentManifestGenerator as experimental_componentManifestGenerator } from './componentManifest/generator' ;
1212
1313export const previewAnnotations : PresetProperty < 'previewAnnotations' > = async (
1414 input = [ ] ,
You can’t perform that action at this time.
0 commit comments