Skip to content

es-build regression 17.1.0-next.0 rebuild causes "the request url "..." is outside of Vite serving allow list." #26555

@LanderBeeuwsaert

Description

@LanderBeeuwsaert

Command

build

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

17.0.5

Description

When having @angular-devkit/build-angular:browser-esbuild on
with build-angular and angular/cli on 17.1.0-next.0
any dev server rebuild causes:
The request url "..." is outside of Vite serving allow list for all assets

Minimal Reproduction

I suppose it's down to my configuration somehow, but there's nothing that special to it.
reversing to 17.0.5 immediately solves this

Exception or Error

No response

Your Environment

Angular CLI: 17.1.0-next.0
Node: 18.15.0
Package Manager: npm 9.8.1
OS: win32 x64

Angular: 17.0.5
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                              Version
--------------------------------------------------------------
@angular-devkit/architect            0.1701.0-next.0
@angular-devkit/build-angular        17.1.0-next.0
@angular-devkit/core                 16.2.6
@angular-devkit/schematics           16.2.6
@angular/cdk                         16.2.12
@angular/cli                         17.1.0-next.0
@angular/fire                        16.0.0
@angular/google-maps                 16.2.12
@angular/material                    16.2.12
@angular/material-date-fns-adapter   16.2.12
@angular/youtube-player              16.2.12
@bazel/typescript                    5.8.1
@schematics/angular                  16.2.6
rxjs                                 7.8.1
typescript                           5.2.2
zone.js                              0.14.2

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions