File tree 2 files changed +33
-0
lines changed
packages/angular_devkit/build_angular
src/builders/browser-esbuild/tests
2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,7 @@ LARGE_SPECS = {
340
340
"@npm//popper.js" ,
341
341
],
342
342
},
343
+ "browser-esbuild" : {},
343
344
}
344
345
345
346
[
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+
9
+ import { Schema } from '../schema' ;
10
+
11
+ export { describeBuilder } from '../../../testing' ;
12
+
13
+ export const BROWSER_BUILDER_INFO = Object . freeze ( {
14
+ name : '@angular-devkit/build-angular:browser-esbuild' ,
15
+ schemaPath : __dirname + '/../schema.json' ,
16
+ } ) ;
17
+
18
+ /**
19
+ * Contains all required browser builder fields.
20
+ * Also disables progress reporting to minimize logging output.
21
+ */
22
+ export const BASE_OPTIONS = Object . freeze < Schema > ( {
23
+ index : 'src/index.html' ,
24
+ main : 'src/main.ts' ,
25
+ outputPath : 'dist' ,
26
+ tsConfig : 'src/tsconfig.app.json' ,
27
+ progress : false ,
28
+
29
+ // Disable optimizations
30
+ optimization : false ,
31
+ buildOptimizer : false ,
32
+ } ) ;
You can’t perform that action at this time.
0 commit comments