Skip to content

Commit

Permalink
Revert "empty commit"
Browse files Browse the repository at this point in the history
This reverts commit c3796ad.
  • Loading branch information
Platonn committed Feb 6, 2025
1 parent c3796ad commit b1a9a49
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
getDefaultProjectNameFromWorkspace,
createSassSilenceDeprecations,
} from '../../../shared/utils/workspace-utils';
import { BrowserBuilderOptions } from '@angular-devkit/build-angular';

export function migrate(): Rule {
return (tree: Tree, context: SchematicContext) => {
Expand All @@ -19,7 +18,7 @@ export function migrate(): Rule {
const project = angularJson.projects[projectName];
const architect = project.architect;

const buildOptions = architect?.build?.options as BrowserBuilderOptions;
const buildOptions = architect?.build?.options as any;
const buildStylePreprocessorOptions = buildOptions.stylePreprocessorOptions;
buildOptions.stylePreprocessorOptions = {
...buildStylePreprocessorOptions,
Expand Down

0 comments on commit b1a9a49

Please sign in to comment.