Skip to content

Commit

Permalink
refactor(@angular-devkit/build-angular): typo in ignore list plugin f…
Browse files Browse the repository at this point in the history
…unction

(cherry picked from commit fe64193)
  • Loading branch information
cexbrayat authored and alan-agius4 committed Sep 20, 2023
1 parent 64b3586 commit ae41ab5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { SourceFileCache, createCompilerPlugin } from './angular/compiler-plugin
import { createCompilerPluginOptions } from './compiler-plugin-options';
import { createExternalPackagesPlugin } from './external-packages-plugin';
import { createRxjsEsmResolutionPlugin } from './rxjs-esm-resolution-plugin';
import { createSourcemapIngorelistPlugin } from './sourcemap-ignorelist-plugin';
import { createSourcemapIgnorelistPlugin } from './sourcemap-ignorelist-plugin';
import { getFeatureSupport } from './utils';
import { createVirtualModulePlugin } from './virtual-module-plugin';

Expand Down Expand Up @@ -45,7 +45,7 @@ export function createBrowserCodeBundleOptions(
target,
supported: getFeatureSupport(target),
plugins: [
createSourcemapIngorelistPlugin(),
createSourcemapIgnorelistPlugin(),
createCompilerPlugin(
// JS/TS options
pluginOptions,
Expand Down Expand Up @@ -144,7 +144,7 @@ export function createServerCodeBundleOptions(
entryPoints,
supported: getFeatureSupport(target),
plugins: [
createSourcemapIngorelistPlugin(),
createSourcemapIgnorelistPlugin(),
createCompilerPlugin(
// JS/TS options
{ ...pluginOptions, noopTypeScriptCompilation: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import path from 'node:path';
import type { NormalizedApplicationBuildOptions } from '../../builders/application/options';
import { assertIsError } from '../../utils/error';
import { LoadResultCache, createCachedLoad } from './load-result-cache';
import { createSourcemapIngorelistPlugin } from './sourcemap-ignorelist-plugin';
import { createSourcemapIgnorelistPlugin } from './sourcemap-ignorelist-plugin';
import { createVirtualModulePlugin } from './virtual-module-plugin';

/**
Expand Down Expand Up @@ -71,7 +71,7 @@ export function createGlobalScriptsBundleOptions(
platform: 'neutral',
preserveSymlinks,
plugins: [
createSourcemapIngorelistPlugin(),
createSourcemapIgnorelistPlugin(),
createVirtualModulePlugin({
namespace,
external: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface SourceMap {
* For more information, see https://developer.chrome.com/articles/x-google-ignore-list/
* @returns An esbuild plugin.
*/
export function createSourcemapIngorelistPlugin(): Plugin {
export function createSourcemapIgnorelistPlugin(): Plugin {
return {
name: 'angular-sourcemap-ignorelist',
setup(build): void {
Expand Down

0 comments on commit ae41ab5

Please sign in to comment.