angular / angular/angularfire

Module is not defined error with Angular 16 esbuild

Đang mở
#3,367 11 bình luận 15 reaction 1 người được giao Được @davideast nhận Xem trên GitHub
comp: compat needs: recheck type: bug version: legacy (v7-v16)
Ngôn ngữ chính
TypeScript
Star
7.8k
Fork
2.2k
Merge trung bình
22 giờ 28 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.