diff --git a/aio/content/examples/i18n/doc-files/main.2.ts b/aio/content/examples/i18n/doc-files/main.2.ts index 0b68bc10fe..5807e7b40f 100644 --- a/aio/content/examples/i18n/doc-files/main.2.ts +++ b/aio/content/examples/i18n/doc-files/main.2.ts @@ -12,7 +12,7 @@ if (environment.production) { // use the require method provided by webpack declare const require; // we use the webpack raw-loader to return the content as a string -const translations = require(`raw-loader!./locale/messages.fr.xlf`); +const translations = require('raw-loader!./locale/messages.fr.xlf').default; platformBrowserDynamic().bootstrapModule(AppModule, { providers: [