Module is not defined error with Angular 16 esbuild
Aberta
comp: compat
needs: recheck
type: bug
version: legacy (v7-v16)
- Linguagem predominante
- TypeScript
- Estrelas
- 7.8k
- Forks
- 2.2k
- Merge médio
- 22h 28min
- PRs com merge (30d)
- 6
Descrição
### 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.
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.