|
28 | 28 | "tsConfig": "tsconfig.app.json", |
29 | 29 | "aot": true, |
30 | 30 | "assets": [ |
31 | | - "src/assets", |
32 | | - "src/robots.txt", |
33 | 31 | { |
34 | | - "glob": "**/frutiger.css", |
35 | | - "input": "node_modules/@oblique/oblique/styles", |
36 | | - "output": "assets/styles" |
| 32 | + "glob": "**/*", |
| 33 | + "input": "node_modules/@oblique/oblique/assets", |
| 34 | + "output": "assets" |
37 | 35 | }, |
38 | 36 | { |
39 | | - "glob": "**/*.json", |
| 37 | + "glob": "**/frutiger.css", |
40 | 38 | "input": "node_modules/@oblique/oblique/styles", |
41 | 39 | "output": "assets/styles" |
42 | 40 | }, |
43 | | - { |
44 | | - "glob": "images/favicon.png", |
45 | | - "input": "node_modules/@oblique/oblique/styles", |
46 | | - "output": "assets/styles/images" |
47 | | - }, |
48 | | - { |
49 | | - "glob": "images/logo.svg", |
50 | | - "input": "node_modules/@oblique/oblique/styles", |
51 | | - "output": "assets/styles/images" |
52 | | - }, |
53 | 41 | { |
54 | 42 | "glob": "*headers.conf", |
55 | 43 | "input": "src/nginx", |
|
59 | 47 | "glob": "Staticfile", |
60 | 48 | "input": "src/nginx", |
61 | 49 | "output": "./.." |
62 | | - } |
| 50 | + }, |
| 51 | + "src/assets", |
| 52 | + "src/robots.txt" |
63 | 53 | ], |
64 | 54 | "styles": [ |
65 | 55 | "node_modules/@oblique/oblique/styles/css/oblique-core.css", |
66 | 56 | "node_modules/@oblique/oblique/styles/css/oblique-material.css", |
67 | 57 | "src/styles/styles.scss" |
68 | 58 | ], |
69 | | - "scripts": [] |
| 59 | + "scripts": [ |
| 60 | + "node_modules/@oblique/oblique/ob-features.js" |
| 61 | + ] |
70 | 62 | }, |
71 | 63 | "configurations": { |
72 | 64 | "dev": { |
|
79 | 71 | "optimization": false, |
80 | 72 | "outputHashing": "all", |
81 | 73 | "sourceMap": true, |
82 | | - "extractCss": true, |
83 | 74 | "namedChunks": false, |
84 | 75 | "extractLicenses": true, |
85 | 76 | "vendorChunk": false, |
86 | | - "buildOptimizer": true, |
| 77 | + "buildOptimizer": true, "assets": [ |
| 78 | + { |
| 79 | + "glob": "**/*", |
| 80 | + "input": "node_modules/@oblique/oblique/assets", |
| 81 | + "output": "assets" |
| 82 | + }, |
| 83 | + { |
| 84 | + "glob": "**/frutiger.css", |
| 85 | + "input": "node_modules/@oblique/oblique/styles", |
| 86 | + "output": "assets/styles" |
| 87 | + }, |
| 88 | + { |
| 89 | + "glob": "*headers.conf", |
| 90 | + "input": "src/nginx", |
| 91 | + "output": "./../nginx/conf/includes" |
| 92 | + }, |
| 93 | + { |
| 94 | + "glob": "Staticfile", |
| 95 | + "input": "src/nginx", |
| 96 | + "output": "./.." |
| 97 | + }, |
| 98 | + "src/assets", |
| 99 | + "src/robots.txt" |
| 100 | + ], |
87 | 101 | "budgets": [ |
88 | 102 | { |
89 | 103 | "type": "initial", |
|
101 | 115 | { |
102 | 116 | "replace": "src/environments/environment.ts", |
103 | 117 | "with": "src/environments/environment.test.ts" |
104 | | - }, |
105 | | - { |
106 | | - "replace": "src/nginx/csp_headers.conf", |
107 | | - "with": "src/nginx/csp_headers-test.conf" |
108 | 118 | } |
109 | 119 | ], |
110 | 120 | "optimization": true, |
111 | 121 | "outputHashing": "all", |
112 | 122 | "sourceMap": false, |
113 | | - "extractCss": true, |
114 | 123 | "namedChunks": false, |
115 | 124 | "extractLicenses": true, |
116 | 125 | "vendorChunk": false, |
117 | 126 | "buildOptimizer": true, |
| 127 | + "assets": [ |
| 128 | + { |
| 129 | + "glob": "**/*", |
| 130 | + "input": "node_modules/@oblique/oblique/assets", |
| 131 | + "output": "assets" |
| 132 | + }, |
| 133 | + { |
| 134 | + "glob": "**/frutiger.css", |
| 135 | + "input": "node_modules/@oblique/oblique/styles", |
| 136 | + "output": "assets/styles" |
| 137 | + }, |
| 138 | + { |
| 139 | + "glob": "*headers.conf", |
| 140 | + "input": "src/nginx", |
| 141 | + "output": "./../nginx/conf/includes" |
| 142 | + }, |
| 143 | + { |
| 144 | + "glob": "csp_headers.conf", |
| 145 | + "input": "src/nginx/test", |
| 146 | + "output": "./../nginx/conf/includes" |
| 147 | + }, |
| 148 | + { |
| 149 | + "glob": "Staticfile", |
| 150 | + "input": "src/nginx", |
| 151 | + "output": "./.." |
| 152 | + }, |
| 153 | + "src/assets", |
| 154 | + "src/robots.txt" |
| 155 | + ], |
118 | 156 | "budgets": [ |
119 | 157 | { |
120 | 158 | "type": "initial", |
|
133 | 171 | { |
134 | 172 | "replace": "src/environments/environment.ts", |
135 | 173 | "with": "src/environments/environment.abn.ts" |
136 | | - }, |
137 | | - { |
138 | | - "replace": "src/nginx/csp_headers.conf", |
139 | | - "with": "src/nginx/csp_headers-abn.conf" |
140 | 174 | } |
141 | 175 | ], |
142 | 176 | "optimization": true, |
143 | 177 | "outputHashing": "all", |
144 | 178 | "sourceMap": false, |
145 | | - "extractCss": true, |
146 | 179 | "namedChunks": false, |
147 | 180 | "extractLicenses": true, |
148 | 181 | "vendorChunk": false, |
149 | 182 | "buildOptimizer": true, |
| 183 | + "assets": [ |
| 184 | + { |
| 185 | + "glob": "**/*", |
| 186 | + "input": "node_modules/@oblique/oblique/assets", |
| 187 | + "output": "assets" |
| 188 | + }, |
| 189 | + { |
| 190 | + "glob": "**/frutiger.css", |
| 191 | + "input": "node_modules/@oblique/oblique/styles", |
| 192 | + "output": "assets/styles" |
| 193 | + }, |
| 194 | + { |
| 195 | + "glob": "*headers.conf", |
| 196 | + "input": "src/nginx", |
| 197 | + "output": "./../nginx/conf/includes" |
| 198 | + }, |
| 199 | + { |
| 200 | + "glob": "csp_headers.conf", |
| 201 | + "input": "src/nginx/abn", |
| 202 | + "output": "./../nginx/conf/includes" |
| 203 | + }, |
| 204 | + { |
| 205 | + "glob": "Staticfile", |
| 206 | + "input": "src/nginx", |
| 207 | + "output": "./.." |
| 208 | + }, |
| 209 | + "src/assets", |
| 210 | + "src/robots.txt" |
| 211 | + ], |
150 | 212 | "budgets": [ |
151 | 213 | { |
152 | 214 | "type": "initial", |
|
165 | 227 | { |
166 | 228 | "replace": "src/environments/environment.ts", |
167 | 229 | "with": "src/environments/environment.prod.ts" |
168 | | - }, |
169 | | - { |
170 | | - "replace": "src/nginx/csp_headers.conf", |
171 | | - "with": "src/nginx/csp_headers-prod.conf" |
172 | 230 | } |
173 | 231 | ], |
174 | 232 | "optimization": true, |
175 | 233 | "outputHashing": "all", |
176 | 234 | "sourceMap": false, |
177 | | - "extractCss": true, |
178 | 235 | "namedChunks": false, |
179 | 236 | "extractLicenses": true, |
180 | 237 | "vendorChunk": false, |
181 | 238 | "buildOptimizer": true, |
| 239 | + "assets": [ |
| 240 | + { |
| 241 | + "glob": "**/*", |
| 242 | + "input": "node_modules/@oblique/oblique/assets", |
| 243 | + "output": "assets" |
| 244 | + }, |
| 245 | + { |
| 246 | + "glob": "**/frutiger.css", |
| 247 | + "input": "node_modules/@oblique/oblique/styles", |
| 248 | + "output": "assets/styles" |
| 249 | + }, |
| 250 | + { |
| 251 | + "glob": "*headers.conf", |
| 252 | + "input": "src/nginx", |
| 253 | + "output": "./../nginx/conf/includes" |
| 254 | + }, |
| 255 | + { |
| 256 | + "glob": "csp_headers.conf", |
| 257 | + "input": "src/nginx/prod", |
| 258 | + "output": "./../nginx/conf/includes" |
| 259 | + }, |
| 260 | + { |
| 261 | + "glob": "Staticfile", |
| 262 | + "input": "src/nginx", |
| 263 | + "output": "./.." |
| 264 | + }, |
| 265 | + "src/assets", |
| 266 | + "src/robots.txt" |
| 267 | + ], |
182 | 268 | "budgets": [ |
183 | 269 | { |
184 | 270 | "type": "initial", |
|
0 commit comments