Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: CachedInfo - remove unused emit and map field #524

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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