Skip to content

Commit

Permalink
refactor(esbuld-adapter): use "transformSupportedBrowsersToTargets" f…
Browse files Browse the repository at this point in the history
…rom @angular/build
  • Loading branch information
GregOnNet committed May 31, 2024
1 parent c1056d5 commit 257b99f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 56 deletions.
8 changes: 1 addition & 7 deletions libs/native-federation/src/utils/angular-esbuild-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@ import * as esbuild from 'esbuild';

import { createCompilerPlugin } from '@angular/build/src/tools/esbuild/angular/compiler-plugin';
import { createCompilerPluginOptions } from '@angular/build/src/tools/esbuild/compiler-plugin-options';
import { transformSupportedBrowsersToTargets } from '@angular/build/src/tools/esbuild/utils';
import { getSupportedBrowsers } from '@angular/build/src/utils/supported-browsers';

import { BuilderContext } from '@angular-devkit/architect';

import { transformSupportedBrowsersToTargets } from './transform';

// TODO: Use this import instead in next version:
// import {
// transformSupportedBrowsersToTargets
// } from '@angular-devkit/build-angular/src/tools/esbuild/utils';

import { findTailwindConfigurationFile } from '@angular-devkit/build-angular/src/utils/tailwind';

import {
Expand Down
49 changes: 0 additions & 49 deletions libs/native-federation/src/utils/transform.ts

This file was deleted.

0 comments on commit 257b99f

Please sign in to comment.