···5555}
56565757impl BuildOptions {
5858- /// Returns the fully resolved assets options, with the `assets_dir` set to be inside the `output_dir`.
5959- /// e.g. if `output_dir` is `dist` and `assets.assets_dir` is `_maudit`, this will return `dist/_maudit`.
5858+ /// Returns the fully resolved assets options, with the `output_assets_dir` property resolved to be inside `output_dir`.
5959+ /// e.g. if `output_dir` is `dist` and `assets.assets_dir` is `_maudit`, `output_assets_dir` will return `dist/_maudit`. The user-entered `assets.assets_dir` is also available and unchanged.
6060 pub fn page_assets_options(&self) -> PageAssetsOptions {
6161 PageAssetsOptions {
6262- assets_dir: self.output_dir.join(&self.assets.assets_dir),
6262+ assets_dir: self.assets.assets_dir.clone(),
6363+ output_assets_dir: self.output_dir.join(&self.assets.assets_dir),
6364 hashing_strategy: self.assets.hashing_strategy,
6465 }
6566 }