Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registerLocaleData(localeDe);
registerLocaleData(localeJa);
registerLocaleData(localeZh);
const devImports = [];
if (!environment.production) {
devImports.push(StoreDevtoolsModule.instrument());
}
@NgModule({
imports: [
BrowserModule.withServerTransition({ appId: 'spartacus-app' }),
BrowserTransferStateModule,
B2cStorefrontModule.withConfig({
backend: {
occ: {
baseUrl: environment.occBaseUrl,
legacy: false,
},
oms: {
baseUrl: environment.occBaseUrl,
},
},
context: {
urlParameters: ['baseSite', 'language', 'currency'],
baseSite: [
'electronics-spa',
'electronics',
'apparel-de',
'apparel-uk',