Add component.queries possible bug in Angular 9 ivy. · gregorycode/JavaScript-Demos@fd347dc · GitHub
Skip to content

Commit fd347dc

Browse files
committed
Add component.queries possible bug in Angular 9 ivy.
1 parent e965914 commit fd347dc

23 files changed

Lines changed: 12509 additions & 0 deletions

README.md

Lines changed: 1 addition & 0 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
# Compiled files.
3+
/out-tsc
4+
/tmp
5+
6+
# Build-time dependencies.
7+
/node_modules
8+
9+
# Random system files.
10+
.DS_Store
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"demo": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "less"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "app",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/",
21+
"index": "src/index.htm",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "tsconfig.json",
25+
"assets": [
26+
"src/assets"
27+
],
28+
"styles": [],
29+
"scripts": []
30+
},
31+
"configurations": {
32+
"production": {
33+
"fileReplacements": [
34+
{
35+
"replace": "src/environments/environment.ts",
36+
"with": "src/environments/environment.prod.ts"
37+
}
38+
],
39+
"optimization": true,
40+
"outputHashing": "all",
41+
"sourceMap": false,
42+
"extractCss": true,
43+
"namedChunks": false,
44+
"aot": true,
45+
"extractLicenses": false,
46+
"vendorChunk": false,
47+
"buildOptimizer": true,
48+
"budgets": [
49+
{
50+
"type": "initial",
51+
"maximumWarning": "2mb",
52+
"maximumError": "5mb"
53+
},
54+
{
55+
"type": "anyComponentStyle",
56+
"maximumWarning": "6kb",
57+
"maximumError": "10kb"
58+
}
59+
]
60+
}
61+
}
62+
},
63+
"serve": {
64+
"builder": "@angular-devkit/build-angular:dev-server",
65+
"options": {
66+
"browserTarget": "demo:build"
67+
},
68+
"configurations": {
69+
"production": {
70+
"optimization": true,
71+
"sourceMap": true,
72+
"aot": true
73+
}
74+
}
75+
}
76+
}
77+
}
78+
},
79+
"defaultProject": "demo",
80+
"cli": {
81+
"analytics": "b41b192d-da1d-4bd7-a3f5-143f8d13f12b"
82+
}
83+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.
Lines changed: 22 additions & 0 deletions

demos/component-queries-broken-with-ivy-angular9/dist/main-es2015.201b6e9fb2ddbf6f0f7f.js

Lines changed: 237 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/component-queries-broken-with-ivy-angular9/dist/main-es5.201b6e9fb2ddbf6f0f7f.js

Lines changed: 219 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)