angular / angular/angularfire

Module is not defined error with Angular 16 esbuild

Abierto
#3,367 11 comentarios 15 reacciones 1 asignado Reclamado por @davideast Ver en GitHub
comp: compat needs: recheck type: bug version: legacy (v7-v16)
Lenguaje dominante
TypeScript
Estrellas
7.8k
Forks
2.2k
Merge medio
22 h 28 min
PR fusionados (30 d)
6

Descripción

### Version info

**Angular:** 16.0.3

**Firebase:** 9.0.0

**AngularFire:** 7.6.1

### How to reproduce these conditions

Enable esbuild in angular.json
```
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"options": {
```
build:
`ng build && ng serve`

### Debug output
```
Uncaught ReferenceError: module is not defined
Angular
angular-fire-compat.js:166:17
```

### Expected behavior

I'm expecting the app to correctly work.
I'm aware that `The esbuild-based browser application builder ('browser-esbuild') is currently in developer preview`.

### Actual behavior
White page and console error.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.