angular / angular/angularfire

Module is not defined error with Angular 16 esbuild

未關閉
#3,367 11 則留言 15 個 reaction 已指派 1 人 已被 @davideast 認領 在 GitHub 檢視
comp: compat needs: recheck type: bug version: legacy (v7-v16)
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

### 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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。