mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
96252: Transform .json5 to .json in Webpack
This allows us to get rid of the json5 dependency in the main bundle and reduces the size of the i18n files we serve a bit
This commit is contained in:
@@ -35,7 +35,7 @@ import { BrowserInitService } from './browser-init.service';
|
||||
export const REQ_KEY = makeStateKey<string>('req');
|
||||
|
||||
export function createTranslateLoader(transferState: TransferState, http: HttpClient) {
|
||||
return new TranslateBrowserLoader(transferState, http, 'assets/i18n/', '.json5');
|
||||
return new TranslateBrowserLoader(transferState, http, 'assets/i18n/', '.json');
|
||||
}
|
||||
|
||||
export function getRequest(transferState: TransferState): any {
|
||||
|
Reference in New Issue
Block a user