@angular-devkit/build-angular 18.1.0-next.0 → 18.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/package.json +38 -30
- package/plugins/karma.d.ts +1 -1
- package/plugins/karma.js +1 -1
- package/src/babel-bazel.d.ts +1 -1
- package/src/builders/app-shell/index.d.ts +1 -1
- package/src/builders/app-shell/index.js +1 -1
- package/src/builders/app-shell/render-worker.d.ts +1 -1
- package/src/builders/app-shell/render-worker.js +1 -1
- package/src/builders/browser/index.d.ts +1 -1
- package/src/builders/browser/index.js +3 -3
- package/src/builders/browser-esbuild/builder-status-warnings.d.ts +1 -1
- package/src/builders/browser-esbuild/builder-status-warnings.js +2 -3
- package/src/builders/browser-esbuild/index.d.ts +1 -1
- package/src/builders/browser-esbuild/index.js +2 -3
- package/src/builders/dev-server/builder.d.ts +1 -2
- package/src/builders/dev-server/builder.js +3 -4
- package/src/builders/dev-server/index.d.ts +1 -1
- package/src/builders/dev-server/index.js +1 -1
- package/src/builders/dev-server/options.d.ts +5 -1
- package/src/builders/dev-server/options.js +27 -3
- package/src/builders/dev-server/schema.d.ts +10 -0
- package/src/builders/dev-server/schema.json +11 -0
- package/src/builders/dev-server/webpack-server.d.ts +1 -1
- package/src/builders/dev-server/webpack-server.js +4 -4
- package/src/builders/extract-i18n/application-extraction.d.ts +1 -1
- package/src/builders/extract-i18n/application-extraction.js +2 -3
- package/src/builders/extract-i18n/builder.d.ts +1 -1
- package/src/builders/extract-i18n/builder.js +2 -3
- package/src/builders/extract-i18n/empty-loader.d.ts +1 -1
- package/src/builders/extract-i18n/empty-loader.js +2 -2
- package/src/builders/extract-i18n/index.d.ts +1 -1
- package/src/builders/extract-i18n/index.js +1 -1
- package/src/builders/extract-i18n/ivy-extract-loader.d.ts +1 -1
- package/src/builders/extract-i18n/ivy-extract-loader.js +2 -2
- package/src/builders/extract-i18n/options.d.ts +1 -1
- package/src/builders/extract-i18n/options.js +2 -3
- package/src/builders/extract-i18n/webpack-extraction.d.ts +1 -1
- package/src/builders/extract-i18n/webpack-extraction.js +2 -3
- package/src/builders/jest/index.d.ts +1 -1
- package/src/builders/jest/index.js +1 -1
- package/src/builders/jest/init-test-bed.mjs +5 -2
- package/src/builders/jest/jest-global.mjs +2 -2
- package/src/builders/jest/jest.config.mjs +1 -1
- package/src/builders/jest/options.d.ts +1 -1
- package/src/builders/jest/options.js +2 -3
- package/src/builders/karma/find-tests-plugin.d.ts +1 -1
- package/src/builders/karma/find-tests-plugin.js +1 -1
- package/src/builders/karma/index.d.ts +1 -1
- package/src/builders/karma/index.js +2 -3
- package/src/builders/ng-packagr/index.d.ts +1 -1
- package/src/builders/ng-packagr/index.js +2 -3
- package/src/builders/prerender/index.d.ts +1 -1
- package/src/builders/prerender/index.js +2 -3
- package/src/builders/prerender/render-worker.d.ts +1 -1
- package/src/builders/prerender/render-worker.js +1 -1
- package/src/builders/prerender/routes-extractor-worker.d.ts +1 -1
- package/src/builders/prerender/routes-extractor-worker.js +1 -1
- package/src/builders/protractor/index.d.ts +1 -1
- package/src/builders/protractor/index.js +2 -3
- package/src/builders/server/index.d.ts +1 -1
- package/src/builders/server/index.js +2 -3
- package/src/builders/server/platform-server-exports-loader.d.ts +1 -1
- package/src/builders/server/platform-server-exports-loader.js +2 -2
- package/src/builders/ssr-dev-server/index.d.ts +1 -1
- package/src/builders/ssr-dev-server/index.js +3 -4
- package/src/builders/ssr-dev-server/utils.d.ts +1 -2
- package/src/builders/ssr-dev-server/utils.js +4 -5
- package/src/builders/web-test-runner/builder-status-warnings.d.ts +1 -1
- package/src/builders/web-test-runner/builder-status-warnings.js +2 -3
- package/src/builders/web-test-runner/index.d.ts +1 -1
- package/src/builders/web-test-runner/index.js +1 -1
- package/src/builders/web-test-runner/jasmine_runner.js +1 -1
- package/src/builders/web-test-runner/options.d.ts +1 -1
- package/src/builders/web-test-runner/options.js +2 -3
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/tools/babel/babel-loader.d.ts +1 -1
- package/src/tools/babel/presets/application.d.ts +1 -1
- package/src/tools/babel/presets/application.js +3 -4
- package/src/tools/babel/webpack-loader.d.ts +1 -1
- package/src/tools/babel/webpack-loader.js +1 -1
- package/src/tools/webpack/configs/common.d.ts +1 -1
- package/src/tools/webpack/configs/common.js +2 -3
- package/src/tools/webpack/configs/dev-server.d.ts +1 -1
- package/src/tools/webpack/configs/dev-server.js +3 -4
- package/src/tools/webpack/configs/index.d.ts +1 -1
- package/src/tools/webpack/configs/index.js +1 -1
- package/src/tools/webpack/configs/styles.d.ts +1 -1
- package/src/tools/webpack/configs/styles.js +2 -3
- package/src/tools/webpack/plugins/any-component-style-budget-checker.d.ts +1 -1
- package/src/tools/webpack/plugins/any-component-style-budget-checker.js +1 -1
- package/src/tools/webpack/plugins/builder-watch-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/builder-watch-plugin.js +1 -1
- package/src/tools/webpack/plugins/common-js-usage-warn-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/common-js-usage-warn-plugin.js +1 -1
- package/src/tools/webpack/plugins/css-optimizer-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/css-optimizer-plugin.js +1 -1
- package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/dedupe-module-resolve-plugin.js +1 -1
- package/src/tools/webpack/plugins/devtools-ignore-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/devtools-ignore-plugin.js +1 -1
- package/src/tools/webpack/plugins/esbuild-executor.d.ts +1 -1
- package/src/tools/webpack/plugins/esbuild-executor.js +1 -1
- package/src/tools/webpack/plugins/hmr/hmr-accept.d.ts +1 -1
- package/src/tools/webpack/plugins/hmr/hmr-accept.js +2 -2
- package/src/tools/webpack/plugins/hmr/hmr-loader.d.ts +1 -1
- package/src/tools/webpack/plugins/hmr/hmr-loader.js +2 -2
- package/src/tools/webpack/plugins/index-html-webpack-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/index-html-webpack-plugin.js +1 -1
- package/src/tools/webpack/plugins/index.d.ts +1 -1
- package/src/tools/webpack/plugins/index.js +1 -1
- package/src/tools/webpack/plugins/javascript-optimizer-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/javascript-optimizer-plugin.js +1 -1
- package/src/tools/webpack/plugins/javascript-optimizer-worker.d.ts +1 -1
- package/src/tools/webpack/plugins/javascript-optimizer-worker.js +2 -2
- package/src/tools/webpack/plugins/json-stats-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/json-stats-plugin.js +1 -1
- package/src/tools/webpack/plugins/karma/karma.d.ts +1 -1
- package/src/tools/webpack/plugins/karma/karma.js +1 -1
- package/src/tools/webpack/plugins/named-chunks-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/named-chunks-plugin.js +1 -1
- package/src/tools/webpack/plugins/occurrences-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/occurrences-plugin.js +1 -1
- package/src/tools/webpack/plugins/postcss-cli-resources.d.ts +1 -1
- package/src/tools/webpack/plugins/postcss-cli-resources.js +2 -2
- package/src/tools/webpack/plugins/progress-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/progress-plugin.js +1 -1
- package/src/tools/webpack/plugins/remove-hash-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/remove-hash-plugin.js +1 -1
- package/src/tools/webpack/plugins/scripts-webpack-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/scripts-webpack-plugin.js +1 -1
- package/src/tools/webpack/plugins/service-worker-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/service-worker-plugin.js +1 -1
- package/src/tools/webpack/plugins/styles-webpack-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/styles-webpack-plugin.js +1 -1
- package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/suppress-entry-chunks-webpack-plugin.js +1 -1
- package/src/tools/webpack/plugins/transfer-size-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/transfer-size-plugin.js +1 -1
- package/src/tools/webpack/plugins/typescript.d.ts +1 -1
- package/src/tools/webpack/plugins/typescript.js +2 -3
- package/src/tools/webpack/plugins/watch-files-logs-plugin.d.ts +1 -1
- package/src/tools/webpack/plugins/watch-files-logs-plugin.js +1 -1
- package/src/tools/webpack/utils/async-chunks.d.ts +1 -1
- package/src/tools/webpack/utils/async-chunks.js +2 -3
- package/src/tools/webpack/utils/helpers.d.ts +1 -1
- package/src/tools/webpack/utils/helpers.js +11 -12
- package/src/tools/webpack/utils/stats.d.ts +1 -1
- package/src/tools/webpack/utils/stats.js +8 -9
- package/src/transforms.d.ts +1 -1
- package/src/transforms.js +1 -1
- package/src/utils/action-executor.d.ts +1 -1
- package/src/utils/action-executor.js +1 -1
- package/src/utils/build-options.d.ts +1 -1
- package/src/utils/build-options.js +1 -1
- package/src/utils/bundle-inline-options.d.ts +1 -1
- package/src/utils/bundle-inline-options.js +1 -1
- package/src/utils/color.d.ts +1 -1
- package/src/utils/color.js +1 -1
- package/src/utils/copy-assets.d.ts +1 -1
- package/src/utils/copy-assets.js +2 -3
- package/src/utils/default-progress.d.ts +1 -1
- package/src/utils/default-progress.js +2 -3
- package/src/utils/environment-options.d.ts +1 -1
- package/src/utils/environment-options.js +1 -1
- package/src/utils/error.d.ts +1 -1
- package/src/utils/error.js +2 -3
- package/src/utils/i18n-inlining.d.ts +1 -1
- package/src/utils/i18n-inlining.js +2 -3
- package/src/utils/i18n-webpack.d.ts +1 -1
- package/src/utils/i18n-webpack.js +3 -3
- package/src/utils/index.d.ts +1 -1
- package/src/utils/index.js +1 -1
- package/src/utils/load-esm.d.ts +1 -1
- package/src/utils/load-esm.js +2 -3
- package/src/utils/normalize-asset-patterns.d.ts +1 -1
- package/src/utils/normalize-asset-patterns.js +3 -3
- package/src/utils/normalize-builder-schema.d.ts +1 -1
- package/src/utils/normalize-builder-schema.js +2 -3
- package/src/utils/normalize-cache.d.ts +1 -1
- package/src/utils/normalize-cache.js +3 -4
- package/src/utils/normalize-file-replacements.d.ts +1 -1
- package/src/utils/normalize-file-replacements.js +3 -3
- package/src/utils/normalize-optimization.d.ts +1 -1
- package/src/utils/normalize-optimization.js +2 -3
- package/src/utils/normalize-polyfills.d.ts +1 -1
- package/src/utils/normalize-polyfills.js +2 -3
- package/src/utils/normalize-source-maps.d.ts +1 -1
- package/src/utils/normalize-source-maps.js +2 -3
- package/src/utils/output-paths.d.ts +1 -1
- package/src/utils/output-paths.js +2 -3
- package/src/utils/package-chunk-sort.d.ts +1 -1
- package/src/utils/package-chunk-sort.js +2 -3
- package/src/utils/package-version.d.ts +1 -1
- package/src/utils/package-version.js +1 -1
- package/src/utils/process-bundle.d.ts +3 -3
- package/src/utils/process-bundle.js +2 -3
- package/src/utils/read-tsconfig.d.ts +1 -1
- package/src/utils/read-tsconfig.js +2 -3
- package/src/utils/run-module-as-observable-fork.d.ts +1 -1
- package/src/utils/run-module-as-observable-fork.js +2 -3
- package/src/utils/run-module-worker.js +1 -1
- package/src/utils/spinner.d.ts +1 -1
- package/src/utils/spinner.js +1 -1
- package/src/utils/tailwind.d.ts +1 -1
- package/src/utils/tailwind.js +2 -3
- package/src/utils/test-files.d.ts +1 -1
- package/src/utils/test-files.js +2 -3
- package/src/utils/tty.d.ts +1 -1
- package/src/utils/tty.js +2 -3
- package/src/utils/url.d.ts +1 -1
- package/src/utils/url.js +2 -3
- package/src/utils/webpack-browser-config.d.ts +1 -1
- package/src/utils/webpack-browser-config.js +6 -7
- package/src/utils/webpack-diagnostics.d.ts +1 -1
- package/src/utils/webpack-diagnostics.js +3 -4
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Compiler } from 'webpack';
|
|
9
9
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.NamedChunksPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Compiler } from 'webpack';
|
|
9
9
|
export interface OccurrencesPluginOptions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.OccurrencesPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Plugin } from 'postcss';
|
|
9
9
|
export interface PostcssCliResourcesOptions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -31,6 +31,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
31
31
|
};
|
|
32
32
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33
33
|
exports.postcss = void 0;
|
|
34
|
+
exports.default = default_1;
|
|
34
35
|
const loader_utils_1 = require("loader-utils");
|
|
35
36
|
const path = __importStar(require("path"));
|
|
36
37
|
const url = __importStar(require("url"));
|
|
@@ -172,4 +173,3 @@ function default_1(options) {
|
|
|
172
173
|
},
|
|
173
174
|
};
|
|
174
175
|
}
|
|
175
|
-
exports.default = default_1;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { ProgressPlugin as WebpackProgressPlugin } from 'webpack';
|
|
9
9
|
export declare class ProgressPlugin extends WebpackProgressPlugin {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ProgressPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Compiler } from 'webpack';
|
|
9
9
|
import { HashFormat } from '../utils/helpers';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.RemoveHashPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Compilation, Compiler } from 'webpack';
|
|
9
9
|
export interface ScriptsWebpackPluginOptions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { Compiler } from 'webpack';
|
|
9
9
|
export interface ServiceWorkerPluginOptions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.ServiceWorkerPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { Compiler } from 'webpack';
|
|
9
9
|
export interface StylesWebpackPluginOptions {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
/**
|
|
9
9
|
* Remove .js files from entry points consisting entirely of stylesheets.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.SuppressExtractedTextChunksWebpackPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Compiler } from 'webpack';
|
|
9
9
|
export declare class TransferSizePlugin {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.TransferSizePlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { AngularWebpackPlugin } from '@ngtools/webpack';
|
|
9
9
|
import { WebpackConfigOptions } from '../../../utils/build-options';
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.createIvyPlugin =
|
|
10
|
+
exports.createIvyPlugin = createIvyPlugin;
|
|
11
11
|
const webpack_1 = require("@ngtools/webpack");
|
|
12
12
|
const typescript_1 = require("typescript");
|
|
13
13
|
function createIvyPlugin(wco, aot, tsconfig) {
|
|
@@ -47,4 +47,3 @@ function createIvyPlugin(wco, aot, tsconfig) {
|
|
|
47
47
|
inlineStyleFileExtension: buildOptions.inlineStyleLanguage ?? 'css',
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
exports.createIvyPlugin = createIvyPlugin;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { Compiler } from 'webpack';
|
|
9
9
|
export declare class WatchFilesLogsPlugin {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.WatchFilesLogsPlugin = void 0;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { StatsChunk, StatsCompilation } from 'webpack';
|
|
9
9
|
import { NormalizedEntryPoint } from './helpers';
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.markAsyncChunksNonInitial =
|
|
10
|
+
exports.markAsyncChunksNonInitial = markAsyncChunksNonInitial;
|
|
11
11
|
/**
|
|
12
12
|
* Webpack stats may incorrectly mark extra entry points `initial` chunks, when
|
|
13
13
|
* they are actually loaded asynchronously and thus not in the main bundle. This
|
|
@@ -42,4 +42,3 @@ function markAsyncChunksNonInitial(webpackStats, extraEntryPoints) {
|
|
|
42
42
|
: chunk;
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
exports.markAsyncChunksNonInitial = markAsyncChunksNonInitial;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { ObjectPattern } from 'copy-webpack-plugin';
|
|
9
9
|
import type { Configuration, WebpackOptionsNormalized } from 'webpack';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -33,7 +33,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.getOutputHashFormat = getOutputHashFormat;
|
|
37
|
+
exports.normalizeExtraEntryPoints = normalizeExtraEntryPoints;
|
|
38
|
+
exports.assetNameTemplateFactory = assetNameTemplateFactory;
|
|
39
|
+
exports.getInstrumentationExcludedPaths = getInstrumentationExcludedPaths;
|
|
40
|
+
exports.normalizeGlobalStyles = normalizeGlobalStyles;
|
|
41
|
+
exports.getCacheSettings = getCacheSettings;
|
|
42
|
+
exports.globalScriptsByBundleName = globalScriptsByBundleName;
|
|
43
|
+
exports.assetPatterns = assetPatterns;
|
|
44
|
+
exports.getStatsOptions = getStatsOptions;
|
|
45
|
+
exports.isPlatformServerInstalled = isPlatformServerInstalled;
|
|
37
46
|
const crypto_1 = require("crypto");
|
|
38
47
|
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
39
48
|
const path = __importStar(require("path"));
|
|
@@ -73,7 +82,6 @@ function getOutputHashFormat(outputHashing = schema_1.OutputHashing.None, length
|
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
}
|
|
76
|
-
exports.getOutputHashFormat = getOutputHashFormat;
|
|
77
85
|
function normalizeExtraEntryPoints(extraEntryPoints, defaultBundleName) {
|
|
78
86
|
return extraEntryPoints.map((entry) => {
|
|
79
87
|
if (typeof entry === 'string') {
|
|
@@ -94,7 +102,6 @@ function normalizeExtraEntryPoints(extraEntryPoints, defaultBundleName) {
|
|
|
94
102
|
return { ...newEntry, inject, bundleName };
|
|
95
103
|
});
|
|
96
104
|
}
|
|
97
|
-
exports.normalizeExtraEntryPoints = normalizeExtraEntryPoints;
|
|
98
105
|
function assetNameTemplateFactory(hashFormat) {
|
|
99
106
|
const visitedFiles = new Map();
|
|
100
107
|
return (resourcePath) => {
|
|
@@ -118,7 +125,6 @@ function assetNameTemplateFactory(hashFormat) {
|
|
|
118
125
|
return '[path][name].[ext]';
|
|
119
126
|
};
|
|
120
127
|
}
|
|
121
|
-
exports.assetNameTemplateFactory = assetNameTemplateFactory;
|
|
122
128
|
function getInstrumentationExcludedPaths(root, excludedPaths) {
|
|
123
129
|
const excluded = new Set();
|
|
124
130
|
for (const excludeGlob of excludedPaths) {
|
|
@@ -127,7 +133,6 @@ function getInstrumentationExcludedPaths(root, excludedPaths) {
|
|
|
127
133
|
}
|
|
128
134
|
return excluded;
|
|
129
135
|
}
|
|
130
|
-
exports.getInstrumentationExcludedPaths = getInstrumentationExcludedPaths;
|
|
131
136
|
function normalizeGlobalStyles(styleEntrypoints) {
|
|
132
137
|
const entryPoints = {};
|
|
133
138
|
const noInjectNames = [];
|
|
@@ -145,7 +150,6 @@ function normalizeGlobalStyles(styleEntrypoints) {
|
|
|
145
150
|
}
|
|
146
151
|
return { entryPoints, noInjectNames };
|
|
147
152
|
}
|
|
148
|
-
exports.normalizeGlobalStyles = normalizeGlobalStyles;
|
|
149
153
|
function getCacheSettings(wco, angularVersion) {
|
|
150
154
|
const { enabled, path: cacheDirectory } = wco.buildOptions.cache;
|
|
151
155
|
if (enabled) {
|
|
@@ -179,7 +183,6 @@ function getCacheSettings(wco, angularVersion) {
|
|
|
179
183
|
}
|
|
180
184
|
return false;
|
|
181
185
|
}
|
|
182
|
-
exports.getCacheSettings = getCacheSettings;
|
|
183
186
|
function globalScriptsByBundleName(scripts) {
|
|
184
187
|
return normalizeExtraEntryPoints(scripts, 'scripts').reduce((prev, curr) => {
|
|
185
188
|
const { bundleName, inject, input } = curr;
|
|
@@ -201,7 +204,6 @@ function globalScriptsByBundleName(scripts) {
|
|
|
201
204
|
return prev;
|
|
202
205
|
}, []);
|
|
203
206
|
}
|
|
204
|
-
exports.globalScriptsByBundleName = globalScriptsByBundleName;
|
|
205
207
|
function assetPatterns(root, assets) {
|
|
206
208
|
return assets.map((asset, index) => {
|
|
207
209
|
// Resolve input paths relative to workspace root and add slash at the end.
|
|
@@ -237,7 +239,6 @@ function assetPatterns(root, assets) {
|
|
|
237
239
|
};
|
|
238
240
|
});
|
|
239
241
|
}
|
|
240
|
-
exports.assetPatterns = assetPatterns;
|
|
241
242
|
function getStatsOptions(verbose = false) {
|
|
242
243
|
const webpackOutputOptions = {
|
|
243
244
|
all: false, // Fallback value for stats options when an option is not defined. It has precedence over local webpack defaults.
|
|
@@ -274,7 +275,6 @@ function getStatsOptions(verbose = false) {
|
|
|
274
275
|
? { ...webpackOutputOptions, ...verboseWebpackOutputOptions }
|
|
275
276
|
: webpackOutputOptions;
|
|
276
277
|
}
|
|
277
|
-
exports.getStatsOptions = getStatsOptions;
|
|
278
278
|
/**
|
|
279
279
|
* @param root the workspace root
|
|
280
280
|
* @returns `true` when `@angular/platform-server` is installed.
|
|
@@ -288,4 +288,3 @@ function isPlatformServerInstalled(root) {
|
|
|
288
288
|
return false;
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
-
exports.isPlatformServerInstalled = isPlatformServerInstalled;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { BudgetCalculatorResult } from '@angular/build/private';
|
|
9
9
|
import { WebpackLoggingCallback } from '@angular-devkit/build-webpack';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -33,7 +33,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
33
33
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
34
34
|
};
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.statsWarningsToString = statsWarningsToString;
|
|
37
|
+
exports.statsErrorsToString = statsErrorsToString;
|
|
38
|
+
exports.statsHasErrors = statsHasErrors;
|
|
39
|
+
exports.statsHasWarnings = statsHasWarnings;
|
|
40
|
+
exports.createWebpackLoggingCallback = createWebpackLoggingCallback;
|
|
41
|
+
exports.generateBuildEventStats = generateBuildEventStats;
|
|
42
|
+
exports.webpackStatsLogger = webpackStatsLogger;
|
|
37
43
|
const private_1 = require("@angular/build/private");
|
|
38
44
|
const node_assert_1 = __importDefault(require("node:assert"));
|
|
39
45
|
const path = __importStar(require("node:path"));
|
|
@@ -154,7 +160,6 @@ function statsWarningsToString(json, statsConfig) {
|
|
|
154
160
|
}
|
|
155
161
|
return output ? '\n' + output : output;
|
|
156
162
|
}
|
|
157
|
-
exports.statsWarningsToString = statsWarningsToString;
|
|
158
163
|
function statsErrorsToString(json, statsConfig) {
|
|
159
164
|
const colors = statsConfig.colors;
|
|
160
165
|
const c = (x) => (colors ? color_1.colors.reset.cyan(x) : x);
|
|
@@ -200,15 +205,12 @@ function statsErrorsToString(json, statsConfig) {
|
|
|
200
205
|
}
|
|
201
206
|
return output ? '\n' + output : output;
|
|
202
207
|
}
|
|
203
|
-
exports.statsErrorsToString = statsErrorsToString;
|
|
204
208
|
function statsHasErrors(json) {
|
|
205
209
|
return !!(json.errors?.length || json.children?.some((c) => c.errors?.length));
|
|
206
210
|
}
|
|
207
|
-
exports.statsHasErrors = statsHasErrors;
|
|
208
211
|
function statsHasWarnings(json) {
|
|
209
212
|
return !!(json.warnings?.length || json.children?.some((c) => c.warnings?.length));
|
|
210
213
|
}
|
|
211
|
-
exports.statsHasWarnings = statsHasWarnings;
|
|
212
214
|
function createWebpackLoggingCallback(options, logger) {
|
|
213
215
|
const { verbose = false, scripts = [], styles = [] } = options;
|
|
214
216
|
const extraEntryPoints = [
|
|
@@ -228,7 +230,6 @@ function createWebpackLoggingCallback(options, logger) {
|
|
|
228
230
|
webpackStatsLogger(logger, webpackStats, config);
|
|
229
231
|
};
|
|
230
232
|
}
|
|
231
|
-
exports.createWebpackLoggingCallback = createWebpackLoggingCallback;
|
|
232
233
|
function generateBuildEventStats(webpackStats, browserBuilderOptions) {
|
|
233
234
|
const { chunks = [], assets = [] } = webpackStats;
|
|
234
235
|
let jsSizeInBytes = 0;
|
|
@@ -275,7 +276,6 @@ function generateBuildEventStats(webpackStats, browserBuilderOptions) {
|
|
|
275
276
|
ngComponentCount,
|
|
276
277
|
};
|
|
277
278
|
}
|
|
278
|
-
exports.generateBuildEventStats = generateBuildEventStats;
|
|
279
279
|
function webpackStatsLogger(logger, json, config, budgetFailures) {
|
|
280
280
|
logger.info(statsToString(json, config.stats, budgetFailures));
|
|
281
281
|
if (typeof config.stats !== 'object') {
|
|
@@ -288,4 +288,3 @@ function webpackStatsLogger(logger, json, config, budgetFailures) {
|
|
|
288
288
|
logger.error(statsErrorsToString(json, config.stats));
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
|
-
exports.webpackStatsLogger = webpackStatsLogger;
|
package/src/transforms.d.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export type ExecutionTransformer<T> = (input: T) => T | Promise<T>;
|
package/src/transforms.js
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { InlineOptions } from './bundle-inline-options';
|
|
9
9
|
import { I18nOptions } from './i18n-webpack';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import type { ParsedConfiguration } from '@angular/compiler-cli';
|
|
9
9
|
import { logging } from '@angular-devkit/core';
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export interface InlineOptions {
|
|
9
9
|
filename: string;
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/src/utils/color.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import * as ansiColors from 'ansi-colors';
|
|
9
9
|
declare const colors: typeof ansiColors;
|
package/src/utils/color.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export declare function copyAssets(entries: {
|
|
9
9
|
glob: string;
|
package/src/utils/copy-assets.js
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
-
* found in the LICENSE file at https://angular.
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
8
|
*/
|
|
9
9
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10
10
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.copyAssets =
|
|
13
|
+
exports.copyAssets = copyAssets;
|
|
14
14
|
const fast_glob_1 = __importDefault(require("fast-glob"));
|
|
15
15
|
const node_fs_1 = __importDefault(require("node:fs"));
|
|
16
16
|
const node_path_1 = __importDefault(require("node:path"));
|
|
@@ -48,4 +48,3 @@ async function copyAssets(entries, basePaths, root, changed) {
|
|
|
48
48
|
}
|
|
49
49
|
return outputFiles;
|
|
50
50
|
}
|
|
51
|
-
exports.copyAssets = copyAssets;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Copyright Google LLC All Rights Reserved.
|
|
4
4
|
*
|
|
5
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.
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
export declare function defaultProgress(progress: boolean | undefined): boolean;
|