diff --git a/packages/next/package.json b/packages/next/package.json index 313767add5c4e..055dfa494218b 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -43,7 +43,6 @@ "fs-extra": "^11.1.0", "ignore": "^5.0.4", "semver": "^7.5.3", - "url-loader": "^4.1.1", "tslib": "^2.3.0", "webpack-merge": "^5.8.0", "@nx/js": "file:../js", diff --git a/packages/webpack/src/utils/ensure-dependencies.ts b/packages/webpack/src/utils/ensure-dependencies.ts index 915a1f6c7b60f..bc4c8dd34ecf1 100644 --- a/packages/webpack/src/utils/ensure-dependencies.ts +++ b/packages/webpack/src/utils/ensure-dependencies.ts @@ -11,7 +11,6 @@ import { svgrWebpackVersion, swcLoaderVersion, tsLibVersion, - urlLoaderVersion, } from './versions'; export type EnsureDependenciesOptions = { @@ -41,7 +40,6 @@ export function ensureDependencies( reactRefreshWebpackPluginVersion; devDependencies['@svgr/webpack'] = svgrWebpackVersion; devDependencies['react-refresh'] = reactRefreshVersion; - devDependencies['url-loader'] = urlLoaderVersion; } tasks.push(addDependenciesToPackageJson(tree, {}, devDependencies)); diff --git a/packages/webpack/src/utils/versions.ts b/packages/webpack/src/utils/versions.ts index 722485f1b0c24..5dbcd62d55b3a 100644 --- a/packages/webpack/src/utils/versions.ts +++ b/packages/webpack/src/utils/versions.ts @@ -9,4 +9,3 @@ export const webpackCliVersion = '^5.1.4'; export const reactRefreshWebpackPluginVersion = '^0.5.7'; export const svgrWebpackVersion = '^8.0.1'; export const reactRefreshVersion = '^0.10.0'; -export const urlLoaderVersion = '^4.1.1';