Skip to content

Commit 6aa1bcc

Browse files
committed
chore: update lock
1 parent a52ba1e commit 6aa1bcc

9 files changed

Lines changed: 10997 additions & 11572 deletions

File tree

crates/pack-core/src/client/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ pub async fn get_client_module_options_context(
258258

259259
client_rules.extend(additional_rules);
260260

261-
let inline_postcss_config = (*config.inline_postcss_config().await?).clone();
261+
let postcss_config_content = (*config.postcss_config_content().await?).clone();
262262

263263
let postcss_transform_options = Some(PostCssTransformOptions {
264264
postcss_package: Some(get_postcss_package_mapping().to_resolved().await?),
265265
config_location: PostCssConfigLocation::ProjectPathOrLocalPath,
266-
inline_config: inline_postcss_config,
266+
config_content: postcss_config_content,
267267
..Default::default()
268268
});
269269

crates/pack-core/src/config.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -969,16 +969,16 @@ impl Config {
969969
}
970970

971971
#[turbo_tasks::function]
972-
pub fn inline_postcss_config(&self) -> Result<Vc<Option<RcStr>>> {
973-
let inline_postcss_config = self
972+
pub fn postcss_config_content(&self) -> Result<Vc<Option<RcStr>>> {
973+
let postcss_config_content = self
974974
.styles
975975
.as_ref()
976976
.and_then(|styles| styles.postcss.as_ref())
977977
.map(serde_json::to_string)
978978
.transpose()?
979979
.map(RcStr::from);
980980

981-
Ok(Vc::cell(inline_postcss_config))
981+
Ok(Vc::cell(postcss_config_content))
982982
}
983983

984984
#[turbo_tasks::function]

crates/pack-core/src/server/contexts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ pub async fn get_server_module_options_context(
168168

169169
server_rules.extend(additional_rules);
170170

171-
let inline_postcss_config = (*config.inline_postcss_config().await?).clone();
171+
let postcss_config_content = (*config.postcss_config_content().await?).clone();
172172

173173
let postcss_transform_options = Some(PostCssTransformOptions {
174174
postcss_package: Some(get_postcss_package_mapping().to_resolved().await?),
175175
config_location: PostCssConfigLocation::ProjectPathOrLocalPath,
176-
inline_config: inline_postcss_config,
176+
config_content: postcss_config_content,
177177
..Default::default()
178178
});
179179

crates/pack-tests/tests/snapshot/style/css_modules/issues/Issue-while-running-loader-26de9a.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

crates/pack-tests/tests/snapshot/style/css_modules/issues/Issue-while-running-loader-59771b.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

crates/pack-tests/tests/snapshot/style/css_modules/issues/Issue-while-running-loader-5b59bb.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

crates/pack-tests/tests/snapshot/style/css_modules/issues/Issue-while-running-loader-9909a7.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)