A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/angular/angular-cli/commit/a7709b718c953d83f3bde00fa3bf896501359946 below:

add `externalDependencies` to th… · angular/angular-cli@a7709b7 · GitHub

File tree Expand file treeCollapse file tree 5 files changed

+591

-4

lines changed

Filter options

Expand file treeCollapse file tree 5 files changed

+591

-4

lines changed Original file line number Diff line number Diff line change

@@ -22,6 +22,11 @@ ts_json_schema(

22 22

src = "src/builders/browser/schema.json",

23 23

)

24 24 25 +

ts_json_schema(

26 +

name = "browser_esbuild_schema",

27 +

src = "src/builders/browser-esbuild/schema.json",

28 +

)

29 + 25 30

ts_json_schema(

26 31

name = "dev_server_schema",

27 32

src = "src/builders/dev-server/schema.json",

@@ -70,6 +75,7 @@ ts_library(

70 75

) + [

71 76

"//packages/angular_devkit/build_angular:src/builders/app-shell/schema.ts",

72 77

"//packages/angular_devkit/build_angular:src/builders/browser/schema.ts",

78 +

"//packages/angular_devkit/build_angular:src/builders/browser-esbuild/schema.ts",

73 79

"//packages/angular_devkit/build_angular:src/builders/dev-server/schema.ts",

74 80

"//packages/angular_devkit/build_angular:src/builders/extract-i18n/schema.ts",

75 81

"//packages/angular_devkit/build_angular:src/builders/karma/schema.ts",

Original file line number Diff line number Diff line change

@@ -13,7 +13,7 @@

13 13

},

14 14

"browser-esbuild": {

15 15

"implementation": "./src/builders/browser-esbuild",

16 -

"schema": "./src/builders/browser/schema.json",

16 +

"schema": "./src/builders/browser-esbuild/schema.json",

17 17

"description": "Build a browser application."

18 18

},

19 19

"dev-server": {

Original file line number Diff line number Diff line change

@@ -20,11 +20,11 @@ import { generateEntryPoints } from '../../utils/package-chunk-sort';

20 20

import { augmentAppWithServiceWorker } from '../../utils/service-worker';

21 21

import { getIndexInputFile, getIndexOutputFile } from '../../utils/webpack-browser-config';

22 22

import { resolveGlobalStyles } from '../../webpack/configs';

23 -

import { Schema as BrowserBuilderOptions, SourceMapClass } from '../browser/schema';

24 23

import { createCompilerPlugin } from './compiler-plugin';

25 24

import { DEFAULT_OUTDIR, bundle, logMessages } from './esbuild';

26 25

import { logExperimentalWarnings } from './experimental-warnings';

27 26

import { normalizeOptions } from './options';

27 +

import { Schema as BrowserBuilderOptions, SourceMapClass } from './schema';

28 28

import { bundleStylesheetText } from './stylesheets';

29 29 30 30

/**

@@ -35,7 +35,7 @@ import { bundleStylesheetText } from './stylesheets';

35 35

* @returns A promise with the builder result output

36 36

*/

37 37

// eslint-disable-next-line max-lines-per-function

38 -

export async function execute(

38 +

export async function buildEsbuildBrowser(

39 39

options: BrowserBuilderOptions,

40 40

context: BuilderContext,

41 41

): Promise<BuilderOutput> {

@@ -312,6 +312,7 @@ async function bundleCode(

312 312

sourcemap: sourcemapOptions.scripts && (sourcemapOptions.hidden ? 'external' : true),

313 313

splitting: true,

314 314

tsconfig,

315 +

external: options.externalDependencies,

315 316

write: false,

316 317

platform: 'browser',

317 318

preserveSymlinks: options.preserveSymlinks,

@@ -339,4 +340,4 @@ async function bundleCode(

339 340

});

340 341

}

341 342 342 -

export default createBuilder(execute);

343 +

export default createBuilder(buildEsbuildBrowser);

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4