diff --git a/packages/cypress/plugins/preprocessor.ts b/packages/cypress/plugins/preprocessor.ts deleted file mode 100644 index 74a9fe7a6f1bc..0000000000000 --- a/packages/cypress/plugins/preprocessor.ts +++ /dev/null @@ -1 +0,0 @@ -export * from '../src/plugins/preprocessor'; diff --git a/packages/cypress/src/plugins/preprocessor.ts b/packages/cypress/src/plugins/preprocessor.ts deleted file mode 100644 index 39e3e3a2e8d19..0000000000000 --- a/packages/cypress/src/plugins/preprocessor.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { stripIndents } from '@nrwl/devkit'; - -/* - * Keeping this file here, so users who still use the old preprocessor will - * continue to have instructions for how to update their workspace. - * - * We deprecated this back in Nx 12, so it's time to force users to stop using it. - * - * TODO: Remove this file in Nx 16 - */ -export function preprocessTypescript( - config: any, - customizeWebpackConfig?: (webpackConfig: any) => any -) { - throw new Error(stripIndents` - preprocessTypescript is now deprecated since Cypress has added typescript support. - If you would still like preprocess files with webpack, use the "@cypress/webpack-preprocessor" package.`); -}