From 39b6afbc44087a6519acb9415e7f160fb7f7df9e Mon Sep 17 00:00:00 2001 From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:42:24 +0100 Subject: [PATCH] Cleanup --- crates/next-core/src/next_dynamic/dynamic_module.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/crates/next-core/src/next_dynamic/dynamic_module.rs b/crates/next-core/src/next_dynamic/dynamic_module.rs index d3aed045fb0c9..3febdadfb2ede 100644 --- a/crates/next-core/src/next_dynamic/dynamic_module.rs +++ b/crates/next-core/src/next_dynamic/dynamic_module.rs @@ -4,7 +4,6 @@ use anyhow::{bail, Result}; use indoc::formatdoc; use turbo_rcstr::RcStr; use turbo_tasks::{ResolvedVc, Vc}; -use turbo_tasks_fs::FileSystemPath; use turbopack_core::{ asset::{Asset, AssetContent}, chunk::{ChunkItem, ChunkItemExt, ChunkType, ChunkableModule, ChunkingContext}, @@ -39,16 +38,6 @@ impl NextDynamicEntryModule { pub fn new(module: ResolvedVc>) -> Vc { NextDynamicEntryModule { module }.cell() } - - #[turbo_tasks::function] - pub fn server_path(&self) -> Vc { - self.module.ident().path() - } -} - -#[turbo_tasks::function] -fn dynamic_modifier() -> Vc { - Vc::cell("next/dynamic entry".into()) } #[turbo_tasks::function]