forked from rolldown/rolldown
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- Thank you for contributing! --> ### Description Gonna reuse this task to create `CssModule` too. <!-- Please insert your description here and provide especially info about the "what" this PR is solving -->
- Loading branch information
Showing
4 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
mod ecma_module_task; | ||
pub mod module_loader; | ||
mod runtime_ecma_module_task; | ||
mod module_task; | ||
mod runtime_module_task; | ||
pub mod task_context; | ||
mod task_result; | ||
|
||
pub use module_loader::ModuleLoader; | ||
use rolldown_error::BuildDiagnostic; | ||
|
||
use self::{ | ||
runtime_ecma_module_task::RuntimeEcmaModuleTaskResult, task_result::NormalModuleTaskResult, | ||
}; | ||
use self::{runtime_module_task::RuntimeModuleTaskResult, task_result::NormalModuleTaskResult}; | ||
pub enum Msg { | ||
NormalModuleDone(NormalModuleTaskResult), | ||
RuntimeNormalModuleDone(RuntimeEcmaModuleTaskResult), | ||
RuntimeNormalModuleDone(RuntimeModuleTaskResult), | ||
BuildErrors(Vec<BuildDiagnostic>), | ||
Panics(anyhow::Error), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters