File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,9 @@ export default defineNuxtModule<ModuleOptions>({
4747 'StoreWrappedItem' ,
4848 ] . map ( name => ( { from : importsFile , name, type : true } ) ) )
4949
50- // Scan folder
51- if ( ! options . rstoreDirs ) {
52- // resolve it against the src dir which is the root by default
53- options . rstoreDirs = [ resolve ( nuxt . options . srcDir , 'rstore' ) ]
54- }
55-
56- const rstoreModelDirs = options . rstoreDirs as string [ ]
57- const rstorePluginDirs = rstoreModelDirs . map ( dir => resolve ( dir , 'plugins' ) )
50+ // Scan folders
51+ const rstoreModelDirs : string [ ] = [ ]
52+ const rstorePluginDirs : string [ ] = [ ]
5853
5954 for ( const layer of nuxt . options . _layers ) {
6055 const layerRstoreDirs = ( layer . config as unknown as { rstore : ModuleOptions } | null ) ?. rstore ?. rstoreDirs ?? [ 'rstore' ]
You can’t perform that action at this time.
0 commit comments