Expand description
Rusty webpack-sources port.
Modules§
- Reexport
StreamChunksrelated 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 (
;,{,}). - Represents source code without source map, it will not create source map for the source code.
- 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_sourceandinner_source_mapwill beNone,remove_original_sourcewill be false.
Enums§
- Error for this crate.
- Enforce replacement order when two replacement start and end are both equal
Traits§
- Source abstraction, webpack-sources docs.
- Extension methods for Source.
Functions§
- Decodes the given mappings string into an iterator of
Mappingitems. - Encodes the given iterator of
Mappingitems into aString.
Type Aliases§
- An alias for
Box<dyn Source>. - An alias for std::result::Result<T, rspack_sources::Error>.