I have implemented the privacy policies for my app in the following way:

```html
<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-menu-button></ion-menu-button>
    </ion-buttons>
    <ion-title>Privacy Policy</ion-title>
  </ion-toolbar>
</ion-header>
<ion-content>
  <ion-grid class="ion-margin">
    <ion-row>
      <ion-col size="12" sizeMd="8" offsetMd="2" [innerHTML]="'templates.core.privacy-policy.text' | translate">
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-content>
<app-custom-footer></app-custom-footer>

```

I am using `innerHtml` in a `<ion-col>` element which is loading my privacy policy text dynamically based on the user's current language.

Everything is working fine on dev but when deploying and uploading it into firebase hosting I am getting the following error:

> 
> Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
> 
> 
> 

Any idea what can be going wrong?

PD: this is how it looks on dev mode.

![Screenshot of dev mode](https://i.stack.imgur.com/ENZL8.png)