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
  • Loading branch information
cexbrayat authored and alan-agius4 committed Sep 20, 2023
1 parent 5ed42d6 commit fe64193
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -15,7 +15,7 @@ import { allowMangle } from '../../utils/environment-options';
import { SourceFileCache, createCompilerPlugin } from './angular/compiler-plugin';
import { createCompilerPluginOptions } from './compiler-plugin-options';
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 @@ -146,7 +146,7 @@ export function createServerCodeBundleOptions(
entryPoints,
supported: getFeatureSupport(target),
plugins: [
createSourcemapIngorelistPlugin(),
createSourcemapIgnorelistPlugin(),
createCompilerPlugin(
// JS/TS options
{ ...pluginOptions, noopTypeScriptCompilation: true },
Expand Down
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
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 fe64193

Please sign in to comment.