Skip to content

Commit

Permalink
fix: CachedInfo - remove unused emit and map field (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Sep 5, 2024
1 parent 58c838a commit bec5a36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions js/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ export interface CacheInfo {
* non `file:` URLs, this is the location of the cached content, otherwise it
* is the absolute path to the local file. */
local?: string;
/** The string path to where a transpiled version of the source content is
* located, if any. */
emit?: string;
/** The string path to where an external source map of the transpiled source
* content is located, if any. */
map?: string;
}

export interface TypesDependency {
Expand Down
6 changes: 0 additions & 6 deletions src/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ pub struct CacheInfo {
/// path to the original file, if a remote file, the path to the file in the
/// cache.
pub local: Option<PathBuf>,
/// If the file has been transpiled, the path to the cached version of the
/// transpiled JavaScript.
pub emit: Option<PathBuf>,
/// If the file has been transpiled and there is a source map separate from
/// the transpiled JavaScript, the path to this file.
pub map: Option<PathBuf>,
}

/// The response that is expected from a loader's `.load()` method.
Expand Down

0 comments on commit bec5a36

Please sign in to comment.