Crate rspack_sources
source ·Expand description
Rusty webpack-sources
port.
Modules§
- Reexport
StreamChunks
related types.
Macros§
Structs§
- It tries to reused cached results from other methods to avoid calculations, usually used after modify is finished.
- Options for Source::map.
- Represent a Mapping information of source map.
- Represent original position information of a Mapping.
- Represents source code, it will create source map for the source code, but the source map is created by splitting the source code at typical statement borders (
;
,{
,}
). - Decorates a Source with replacements and insertions of source code, usually used in dependencies
- The source map created by Source::map.
- Represents source code with source map, optionally having an additional source map for the original source.
- Options for SourceMapSource::new.
- An convenient options for SourceMapSourceOptions,
original_source
andinner_source_map
will beNone
,remove_original_source
will be false.
Enums§
- Error for this crate.
- Represents source code without source map, it will not create source map for the source code.
Traits§
- Source abstraction, webpack-sources docs.
- Extension methods for Source.
Type Aliases§
- An alias for
Box<dyn Source>
. - An alias for std::result::Result<T, rspack_sources::Error>.