generated from web-infra-dev/napi-template
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathlib.rs
38 lines (35 loc) · 943 Bytes
/
lib.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Rusty [`webpack-sources`](https://github.com/webpack/webpack-sources) port.
#![feature(let_chains)]
#![warn(unsafe_code)]
#![deny(missing_docs)]
mod cached_source;
mod concat_source;
mod error;
mod helpers;
mod original_source;
mod raw_source;
mod replace_source;
mod source;
mod source_map_source;
mod vlq;
mod with_indices;
pub use cached_source::CachedSource;
pub use concat_source::ConcatSource;
pub use error::{Error, Result};
pub use original_source::OriginalSource;
pub use raw_source::RawSource;
pub use replace_source::ReplaceSource;
pub use source::{
BoxSource, MapOptions, Mapping, OriginalLocation, Source, SourceExt,
SourceMap,
};
pub use source_map_source::{
SourceMapSource, SourceMapSourceOptions, WithoutOriginalOptions,
};
/// Reexport `StreamChunks` related types.
pub mod stream_chunks {
pub use super::helpers::{
stream_chunks_default, GeneratedInfo, OnChunk, OnName, OnSource,
StreamChunks,
};
}