swc_node_bundler/v1/
output.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;

use serde::Deserialize;

#[derive(Debug, Deserialize)]
#[serde(rename = "Output")]
#[serde(rename_all = "camelCase")]
pub struct OutputConfig {
    pub path: PathBuf,

    #[serde(default)]
    pub name: String,
}