mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Currently, we don't inject `runtime.js` because we collide with the `runtime.js` of the host Angular application. This creates problems with non-Angular apps which don't use the same app bundling and the `backend.js` does not execute. This PR renames the runtime function to `___ngDevToolsRuntime`, which fixes the issue. Additionally, since we support only Chrome this PR also drops differential bundling. We support the last two major versions of Chrome (look at `browserlist`), but if users require, we can easily extend the set of supported browsers. Lastly, to have predictable file names, this PR also drops the hash suffix in the `shell-chrome` project.
9 lines
382 B
Text
9 lines
382 B
Text
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
|
|
# For additional information regarding the format and rule options, please see:
|
|
# https://github.com/browserslist/browserslist#queries
|
|
|
|
# You can see what browsers were selected by your queries by running:
|
|
# npx browserslist
|
|
|
|
last 2 chrome version
|
|
last 2 firefox version
|