Skip to content

Commit

Permalink
feat: update order of BaseStorefrontModule in SpartacusModule (#17634)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpawelczak authored Jul 25, 2023
1 parent d74e46f commit 06af720
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions projects/schematics/src/add-spartacus/spartacus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ function configureSpartacusModules(
namedImports: [BASE_STOREFRONT_MODULE],
},
content: BASE_STOREFRONT_MODULE,
order: 0,
});
addModuleExport(sourceFile, {
import: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ import { SpartacusFeaturesModule } from './spartacus-features.module';
declarations: [],
imports: [
MyFeature,
BaseStorefrontModule,
SpartacusFeaturesModule,
SpartacusConfigurationModule,
BaseStorefrontModule
],
exports: [BaseStorefrontModule]
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import { SpartacusFeaturesModule } from './spartacus-features.module';
declarations: [],
imports: [
MyFeature,
BaseStorefrontModule,
SpartacusFeaturesModule,
SpartacusConfigurationModule,
BaseStorefrontModule
],
exports: [BaseStorefrontModule]
})
Expand Down

0 comments on commit 06af720

Please sign in to comment.