Unverified Commit 3ed412a3 authored by Alex Kirszenberg's avatar Alex Kirszenberg Committed by GitHub

Selectively load runtime CSS modules to avoid rule duplication (#48866)

See https://github.com/vercel/turbo/pull/4695

### Turbopack changes

* https://github.com/vercel/turbo/pull/4683 <!-- Alex Kirszenberg -
Update benchmark data -->
* https://github.com/vercel/turbo/pull/4695 <!-- Alex Kirszenberg -
Selectively load runtime CSS modules to avoid rule duplication -->

---------
Co-authored-by: 's avatarTobias Koppers <tobias.koppers@googlemail.com>
Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 80a9454f
This diff is collapsed.
...@@ -42,11 +42,11 @@ swc_relay = { version = "0.2.5" } ...@@ -42,11 +42,11 @@ swc_relay = { version = "0.2.5" }
testing = { version = "0.33.4" } testing = { version = "0.33.4" }
# Turbo crates # Turbo crates
turbo-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230426.2" } turbo-binding = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230427.2" }
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros.. # [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230426.2" } turbo-tasks = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230427.2" }
# [TODO]: need to refactor embed_directory! macro usage in next-core # [TODO]: need to refactor embed_directory! macro usage in next-core
turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230426.2" } turbo-tasks-fs = { git = "https://github.com/vercel/turbo.git", tag = "turbopack-230427.2" }
# General Deps # General Deps
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
"check": "tsc --noEmit" "check": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"@vercel/turbopack-dev": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2", "@vercel/turbopack-dev": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2",
"@vercel/turbopack-node": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230426.2", "@vercel/turbopack-node": "https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230427.2",
"anser": "^2.1.1", "anser": "^2.1.1",
"css.escape": "^1.5.1", "css.escape": "^1.5.1",
"next": "*", "next": "*",
......
...@@ -17,7 +17,7 @@ use turbo_binding::{ ...@@ -17,7 +17,7 @@ use turbo_binding::{
ident::AssetIdentVc, ident::AssetIdentVc,
reference::AssetReferencesVc, reference::AssetReferencesVc,
}, },
dev::ChunkData, dev::{ChunkDataVc, ChunksDataVc},
ecmascript::{ ecmascript::{
chunk::{ chunk::{
EcmascriptChunkItem, EcmascriptChunkItemContent, EcmascriptChunkItemContentVc, EcmascriptChunkItem, EcmascriptChunkItemContent, EcmascriptChunkItemContentVc,
...@@ -126,6 +126,22 @@ struct WithChunksChunkItem { ...@@ -126,6 +126,22 @@ struct WithChunksChunkItem {
inner: WithChunksAssetVc, inner: WithChunksAssetVc,
} }
#[turbo_tasks::value_impl]
impl WithChunksChunkItemVc {
#[turbo_tasks::function]
async fn chunks_data(self) -> Result<ChunksDataVc> {
let this = self.await?;
let inner = this.inner.await?;
let Some(inner_chunking_context) = EcmascriptChunkingContextVc::resolve_from(inner.chunking_context).await? else {
bail!("the chunking context is not an EcmascriptChunkingContextVc");
};
Ok(ChunkDataVc::from_assets(
inner_chunking_context.output_root(),
this.inner.chunks(),
))
}
}
#[turbo_tasks::value_impl] #[turbo_tasks::value_impl]
impl EcmascriptChunkItem for WithChunksChunkItem { impl EcmascriptChunkItem for WithChunksChunkItem {
#[turbo_tasks::function] #[turbo_tasks::function]
...@@ -134,23 +150,19 @@ impl EcmascriptChunkItem for WithChunksChunkItem { ...@@ -134,23 +150,19 @@ impl EcmascriptChunkItem for WithChunksChunkItem {
} }
#[turbo_tasks::function] #[turbo_tasks::function]
async fn content(&self) -> Result<EcmascriptChunkItemContentVc> { async fn content(self_vc: WithChunksChunkItemVc) -> Result<EcmascriptChunkItemContentVc> {
let inner = self.inner.await?; let this = self_vc.await?;
let inner = this.inner.await?;
let Some(inner_chunking_context) = EcmascriptChunkingContextVc::resolve_from(inner.chunking_context).await? else { let Some(inner_chunking_context) = EcmascriptChunkingContextVc::resolve_from(inner.chunking_context).await? else {
bail!("the chunking context is not an EcmascriptChunkingContextVc"); bail!("the chunking context is not an EcmascriptChunkingContextVc");
}; };
let chunks = self.inner.chunks().await?; let chunks_data = self_vc.chunks_data().await?;
let server_root = inner_chunking_context.output_root().await?; let chunks_data = chunks_data.iter().try_join().await?;
let chunks_data: Vec<_> = chunks_data
let chunks_data = chunks
.iter() .iter()
.map(|&chunk| ChunkData::from_asset(&server_root, chunk)) .map(|chunk_data| chunk_data.runtime_chunk_data())
.try_join() .collect();
.await?
.into_iter()
.flatten()
.collect::<Vec<_>>();
let module_id = &*inner let module_id = &*inner
.asset .asset
...@@ -189,7 +201,13 @@ impl ChunkItem for WithChunksChunkItem { ...@@ -189,7 +201,13 @@ impl ChunkItem for WithChunksChunkItem {
} }
#[turbo_tasks::function] #[turbo_tasks::function]
fn references(&self) -> AssetReferencesVc { async fn references(self_vc: WithChunksChunkItemVc) -> Result<AssetReferencesVc> {
self.inner.references() let mut references = self_vc.await?.inner.references().await?.clone_value();
for chunk_data in &*self_vc.chunks_data().await? {
references.extend(chunk_data.references().await?.iter().copied());
}
Ok(AssetReferencesVc::cell(references))
} }
} }
...@@ -17,7 +17,7 @@ use turbo_binding::{ ...@@ -17,7 +17,7 @@ use turbo_binding::{
}, },
resolve::{ResolveResult, ResolveResultVc}, resolve::{ResolveResult, ResolveResultVc},
}, },
dev::ChunkData, dev::{ChunkDataVc, ChunksDataVc},
turbopack::ecmascript::{ turbopack::ecmascript::{
chunk::{ chunk::{
EcmascriptChunkItem, EcmascriptChunkItemContent, EcmascriptChunkItemContentVc, EcmascriptChunkItem, EcmascriptChunkItemContent, EcmascriptChunkItemContentVc,
...@@ -114,6 +114,20 @@ struct WithClientChunksChunkItem { ...@@ -114,6 +114,20 @@ struct WithClientChunksChunkItem {
inner: WithClientChunksAssetVc, inner: WithClientChunksAssetVc,
} }
#[turbo_tasks::value_impl]
impl WithClientChunksChunkItemVc {
#[turbo_tasks::function]
async fn chunks_data(self) -> Result<ChunksDataVc> {
let this = self.await?;
let inner = this.inner.await?;
Ok(ChunkDataVc::from_assets(
inner.server_root,
this.context
.chunk_group(inner.asset.as_root_chunk(this.context.into())),
))
}
}
#[turbo_tasks::value_impl] #[turbo_tasks::value_impl]
impl EcmascriptChunkItem for WithClientChunksChunkItem { impl EcmascriptChunkItem for WithClientChunksChunkItem {
#[turbo_tasks::function] #[turbo_tasks::function]
...@@ -122,24 +136,18 @@ impl EcmascriptChunkItem for WithClientChunksChunkItem { ...@@ -122,24 +136,18 @@ impl EcmascriptChunkItem for WithClientChunksChunkItem {
} }
#[turbo_tasks::function] #[turbo_tasks::function]
async fn content(&self) -> Result<EcmascriptChunkItemContentVc> { async fn content(self_vc: WithClientChunksChunkItemVc) -> Result<EcmascriptChunkItemContentVc> {
let inner = self.inner.await?; let this = self_vc.await?;
let chunks = self let inner = this.inner.await?;
.context
.chunk_group(inner.asset.as_root_chunk(self.context.into()))
.await?;
let server_root = inner.server_root.await?;
let chunks_data = chunks let chunks_data = self_vc.chunks_data().await?;
let chunks_data = chunks_data.iter().try_join().await?;
let chunks_data: Vec<_> = chunks_data
.iter() .iter()
.map(|&chunk| ChunkData::from_asset(&server_root, chunk)) .map(|chunk_data| chunk_data.runtime_chunk_data())
.try_join() .collect();
.await?
.into_iter() let module_id = inner.asset.as_chunk_item(this.context).id().await?;
.flatten()
.collect::<Vec<_>>();
let module_id = inner.asset.as_chunk_item(self.context).id().await?;
Ok(EcmascriptChunkItemContent { Ok(EcmascriptChunkItemContent {
inner_code: formatdoc!( inner_code: formatdoc!(
// We store the chunks in a binding, otherwise a new array would be created every // We store the chunks in a binding, otherwise a new array would be created every
...@@ -169,8 +177,9 @@ impl ChunkItem for WithClientChunksChunkItem { ...@@ -169,8 +177,9 @@ impl ChunkItem for WithClientChunksChunkItem {
} }
#[turbo_tasks::function] #[turbo_tasks::function]
async fn references(&self) -> Result<AssetReferencesVc> { async fn references(self_vc: WithClientChunksChunkItemVc) -> Result<AssetReferencesVc> {
let inner = self.inner.await?; let this = self_vc.await?;
let inner = this.inner.await?;
let mut references = Vec::new(); let mut references = Vec::new();
references.push( references.push(
WithClientChunksAssetReference { WithClientChunksAssetReference {
...@@ -179,9 +188,9 @@ impl ChunkItem for WithClientChunksChunkItem { ...@@ -179,9 +188,9 @@ impl ChunkItem for WithClientChunksChunkItem {
.cell() .cell()
.into(), .into(),
); );
let group = self let group = this
.context .context
.chunk_group(inner.asset.as_root_chunk(self.context.into())); .chunk_group(inner.asset.as_root_chunk(this.context.into()));
let server_root = inner.server_root.await?; let server_root = inner.server_root.await?;
let chunks = group.await?; let chunks = group.await?;
let client_chunk = StringVc::cell("client chunk".to_string()); let client_chunk = StringVc::cell("client chunk".to_string());
...@@ -191,6 +200,9 @@ impl ChunkItem for WithClientChunksChunkItem { ...@@ -191,6 +200,9 @@ impl ChunkItem for WithClientChunksChunkItem {
references.push(SingleAssetReferenceVc::new(chunk, client_chunk).into()); references.push(SingleAssetReferenceVc::new(chunk, client_chunk).into());
} }
} }
for chunk_data in &*self_vc.chunks_data().await? {
references.extend(chunk_data.references().await?.iter().copied());
}
Ok(AssetReferencesVc::cell(references)) Ok(AssetReferencesVc::cell(references))
} }
} }
......
...@@ -14,7 +14,7 @@ use turbo_binding::{ ...@@ -14,7 +14,7 @@ use turbo_binding::{
reference_type::{EntryReferenceSubType, ReferenceType}, reference_type::{EntryReferenceSubType, ReferenceType},
virtual_asset::VirtualAssetVc, virtual_asset::VirtualAssetVc,
}, },
dev::ChunkData, dev::{ChunkDataVc, ChunksDataVc},
dev_server::source::{asset_graph::AssetGraphContentSourceVc, ContentSourceVc}, dev_server::source::{asset_graph::AssetGraphContentSourceVc, ContentSourceVc},
ecmascript::{ ecmascript::{
utils::StringifyJs, EcmascriptInputTransform, EcmascriptInputTransformsVc, utils::StringifyJs, EcmascriptInputTransform, EcmascriptInputTransformsVc,
...@@ -106,6 +106,15 @@ impl PageLoaderAssetVc { ...@@ -106,6 +106,15 @@ impl PageLoaderAssetVc {
EvaluatableAssetsVc::one(asset.into()), EvaluatableAssetsVc::one(asset.into()),
)) ))
} }
#[turbo_tasks::function]
async fn chunks_data(self) -> Result<ChunksDataVc> {
let this = self.await?;
Ok(ChunkDataVc::from_assets(
this.server_root,
self.get_page_chunks(),
))
}
} }
#[turbo_tasks::function] #[turbo_tasks::function]
...@@ -128,16 +137,11 @@ impl Asset for PageLoaderAsset { ...@@ -128,16 +137,11 @@ impl Asset for PageLoaderAsset {
async fn content(self_vc: PageLoaderAssetVc) -> Result<AssetContentVc> { async fn content(self_vc: PageLoaderAssetVc) -> Result<AssetContentVc> {
let this = &*self_vc.await?; let this = &*self_vc.await?;
let chunks = self_vc.get_page_chunks().await?; let chunks_data = self_vc.chunks_data().await?;
let server_root = this.server_root.await?; let chunks_data = chunks_data.iter().try_join().await?;
let chunks_data: Vec<_> = chunks_data
let chunks_data: Vec<_> = chunks
.iter() .iter()
.map(|&chunk| ChunkData::from_asset(&server_root, chunk)) .map(|chunk_data| chunk_data.runtime_chunk_data())
.try_join()
.await?
.into_iter()
.flatten()
.collect(); .collect();
let content = format!( let content = format!(
...@@ -161,6 +165,10 @@ impl Asset for PageLoaderAsset { ...@@ -161,6 +165,10 @@ impl Asset for PageLoaderAsset {
); );
} }
for chunk_data in &*self_vc.chunks_data().await? {
references.extend(chunk_data.references().await?.iter().copied());
}
Ok(AssetReferencesVc::cell(references)) Ok(AssetReferencesVc::cell(references))
} }
} }
import Link from 'next/link'
import '@/styles/a.css'
import { useEffect } from 'react'
export default function A() {
useEffect(() => {
import('@turbo/pack-test-harness').then((harness) =>
harness.markAsHydrated()
)
globalThis.DYNAMIC_IMPORT1 = () => import('../lib/dynamic1.js')
globalThis.DYNAMIC_IMPORT2 = () => import('../lib/dynamic2.js')
})
return (
<>
<Link href="/b">B</Link>
<button className="a" onClick={() => DYNAMIC_IMPORT1()}>
Load dynamic styles 1
</button>
<button className="b" onClick={() => DYNAMIC_IMPORT2()}>
Load dynamic styles 2
</button>
</>
)
}
import Link from 'next/link'
import '@/styles/b.css'
import { useEffect } from 'react'
export default function B() {
useEffect(() => {
import('@turbo/pack-test-harness').then((harness) =>
harness.markAsHydrated()
)
})
return (
<>
<Link href="/a">A</Link>
</>
)
}
import { useEffect, useRef } from 'react'
export default function Page() {
const iframeRef = useRef<HTMLIFrameElement | null>(null)
useEffect(() => {
// Only run on client
import('@turbo/pack-test-harness').then((mod) =>
runTests(mod, iframeRef.current!)
)
})
return (
<>
<iframe style={{ width: 800, height: 600 }} src="/a" ref={iframeRef} />
</>
)
}
type Harness = typeof import('@turbo/pack-test-harness')
declare global {
interface Window {
__TEST_CONTEXT_KEY?: number
}
}
let once = false
function runTests(harness: Harness, iframe: HTMLIFrameElement) {
if (once) return
once = true
const TIMEOUT = 40000
it(
'should have the correct style applied on initialization',
async () => {
await harness.waitForLoaded(iframe)
await harness.waitForHydration(iframe, '/a')
const link = await harness.waitForSelector(
iframe.contentWindow!.document,
'a'
)
expect(link).not.toBeNull()
expect(getComputedStyle(link).color).toEqual('rgb(0, 0, 255)')
const buttonA = await harness.waitForSelector(
iframe.contentWindow!.document,
'button.a'
)
expect(buttonA).not.toBeNull()
expect(getComputedStyle(buttonA).color).toEqual('rgb(255, 0, 0)')
const buttonB = await harness.waitForSelector(
iframe.contentWindow!.document,
'button.a'
)
expect(buttonB).not.toBeNull()
expect(getComputedStyle(buttonB).color).toEqual('rgb(255, 0, 0)')
},
TIMEOUT
)
it('should have the correct style when loading dynamic styles', async () => {
await harness.waitForLoaded(iframe)
await harness.waitForHydration(iframe, '/a')
const link = await harness.waitForSelector(
iframe.contentWindow!.document,
'a'
)
const buttonA = await harness.waitForSelector(
iframe.contentWindow!.document,
'button.a'
)
const buttonB = await harness.waitForSelector(
iframe.contentWindow!.document,
'button.b'
)
await iframe.contentWindow!.eval('DYNAMIC_IMPORT1()')
expect(getComputedStyle(buttonA).color).toEqual('rgb(0, 0, 255)')
expect(getComputedStyle(buttonB).color).toEqual('rgb(255, 0, 0)')
expect(getComputedStyle(link).color).toEqual('rgb(0, 0, 255)')
await iframe.contentWindow!.eval('DYNAMIC_IMPORT2()')
expect(getComputedStyle(buttonA).color).toEqual('rgb(0, 0, 255)')
expect(getComputedStyle(buttonB).color).toEqual('rgb(0, 0, 255)')
expect(getComputedStyle(link).color).toEqual('rgb(0, 0, 255)')
})
it(
'should have the correct style when navigating to B and back',
async () => {
await harness.waitForLoaded(iframe)
await harness.waitForHydration(iframe, '/a')
const key = Math.random()
iframe.contentWindow!.__TEST_CONTEXT_KEY = key
const link = await harness.waitForSelector(
iframe.contentWindow!.document,
'a'
)
expect(link).toBeInstanceOf(
(iframe.contentWindow as any).HTMLAnchorElement
)
expect(link.textContent).toBe('B')
;(link as HTMLAnchorElement).click()
await harness.waitForHydration(iframe, '/b')
const link2 = await harness.waitForSelector(
iframe.contentWindow!.document,
'a'
)
expect(link2).toBeInstanceOf(
(iframe.contentWindow as any).HTMLAnchorElement
)
expect(link2.textContent).toBe('A')
;(link2 as HTMLAnchorElement).click()
await harness.waitForHydration(iframe, '/a')
const link3 = await harness.waitForSelector(
iframe.contentWindow!.document,
'a'
)
expect(link3).toBeInstanceOf(
(iframe.contentWindow as any).HTMLAnchorElement
)
expect(link3.textContent).toBe('B')
expect(getComputedStyle(link3).color).toEqual('rgb(0, 0, 255)')
expect(iframe.contentWindow!.__TEST_CONTEXT_KEY).toEqual(key)
},
TIMEOUT
)
}
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
...@@ -1018,8 +1018,8 @@ importers: ...@@ -1018,8 +1018,8 @@ importers:
'@types/react': 18.0.37 '@types/react': 18.0.37
'@types/react-dom': 18.0.11 '@types/react-dom': 18.0.11
'@vercel/ncc': ^0.36.0 '@vercel/ncc': ^0.36.0
'@vercel/turbopack-dev': https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2 '@vercel/turbopack-dev': https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2
'@vercel/turbopack-node': https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230426.2 '@vercel/turbopack-node': https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230427.2
anser: ^2.1.1 anser: ^2.1.1
css.escape: ^1.5.1 css.escape: ^1.5.1
find-up: ^6.3.0 find-up: ^6.3.0
...@@ -1031,8 +1031,8 @@ importers: ...@@ -1031,8 +1031,8 @@ importers:
stacktrace-parser: ^0.1.10 stacktrace-parser: ^0.1.10
strip-ansi: ^7.0.1 strip-ansi: ^7.0.1
dependencies: dependencies:
'@vercel/turbopack-dev': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2_react-refresh@0.12.0' '@vercel/turbopack-dev': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2_react-refresh@0.12.0'
'@vercel/turbopack-node': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230426.2' '@vercel/turbopack-node': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230427.2'
anser: 2.1.1 anser: 2.1.1
css.escape: 1.5.1 css.escape: 1.5.1
next: link:../../../../next next: link:../../../../next
...@@ -6014,7 +6014,7 @@ packages: ...@@ -6014,7 +6014,7 @@ packages:
dependencies: dependencies:
'@mdx-js/mdx': 2.2.1 '@mdx-js/mdx': 2.2.1
source-map: 0.7.3 source-map: 0.7.3
webpack: 5.74.0 webpack: 5.74.0_@swc+core@1.3.51
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
...@@ -6684,7 +6684,6 @@ packages: ...@@ -6684,7 +6684,6 @@ packages:
cpu: [arm64] cpu: [arm64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-darwin-x64/1.3.51: /@swc/core-darwin-x64/1.3.51:
...@@ -6693,7 +6692,6 @@ packages: ...@@ -6693,7 +6692,6 @@ packages:
cpu: [x64] cpu: [x64]
os: [darwin] os: [darwin]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-linux-arm-gnueabihf/1.3.51: /@swc/core-linux-arm-gnueabihf/1.3.51:
...@@ -6702,7 +6700,6 @@ packages: ...@@ -6702,7 +6700,6 @@ packages:
cpu: [arm] cpu: [arm]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-linux-arm64-gnu/1.3.51: /@swc/core-linux-arm64-gnu/1.3.51:
...@@ -6711,7 +6708,6 @@ packages: ...@@ -6711,7 +6708,6 @@ packages:
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-linux-arm64-musl/1.3.51: /@swc/core-linux-arm64-musl/1.3.51:
...@@ -6720,7 +6716,6 @@ packages: ...@@ -6720,7 +6716,6 @@ packages:
cpu: [arm64] cpu: [arm64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-linux-x64-gnu/1.3.51: /@swc/core-linux-x64-gnu/1.3.51:
...@@ -6729,7 +6724,6 @@ packages: ...@@ -6729,7 +6724,6 @@ packages:
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-linux-x64-musl/1.3.51: /@swc/core-linux-x64-musl/1.3.51:
...@@ -6738,7 +6732,6 @@ packages: ...@@ -6738,7 +6732,6 @@ packages:
cpu: [x64] cpu: [x64]
os: [linux] os: [linux]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-win32-arm64-msvc/1.3.51: /@swc/core-win32-arm64-msvc/1.3.51:
...@@ -6747,7 +6740,6 @@ packages: ...@@ -6747,7 +6740,6 @@ packages:
cpu: [arm64] cpu: [arm64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-win32-ia32-msvc/1.3.51: /@swc/core-win32-ia32-msvc/1.3.51:
...@@ -6756,7 +6748,6 @@ packages: ...@@ -6756,7 +6748,6 @@ packages:
cpu: [ia32] cpu: [ia32]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core-win32-x64-msvc/1.3.51: /@swc/core-win32-x64-msvc/1.3.51:
...@@ -6765,7 +6756,6 @@ packages: ...@@ -6765,7 +6756,6 @@ packages:
cpu: [x64] cpu: [x64]
os: [win32] os: [win32]
requiresBuild: true requiresBuild: true
dev: true
optional: true optional: true
/@swc/core/1.3.51_@swc+helpers@0.5.1: /@swc/core/1.3.51_@swc+helpers@0.5.1:
...@@ -6790,7 +6780,6 @@ packages: ...@@ -6790,7 +6780,6 @@ packages:
'@swc/core-win32-arm64-msvc': 1.3.51 '@swc/core-win32-arm64-msvc': 1.3.51
'@swc/core-win32-ia32-msvc': 1.3.51 '@swc/core-win32-ia32-msvc': 1.3.51
'@swc/core-win32-x64-msvc': 1.3.51 '@swc/core-win32-x64-msvc': 1.3.51
dev: true
/@swc/helpers/0.4.14: /@swc/helpers/0.4.14:
resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==}
...@@ -23788,7 +23777,6 @@ packages: ...@@ -23788,7 +23777,6 @@ packages:
source-map: 0.6.1 source-map: 0.6.1
terser: 5.14.1 terser: 5.14.1
webpack: 5.74.0_@swc+core@1.3.51 webpack: 5.74.0_@swc+core@1.3.51
dev: true
/terser-webpack-plugin/5.2.4_webpack@5.74.0: /terser-webpack-plugin/5.2.4_webpack@5.74.0:
resolution: {integrity: sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA==} resolution: {integrity: sha512-E2CkNMN+1cho04YpdANyRrn8CyN4yMy+WdFKZIySFZrGXZxJwJP6PMNGGc/Mcr6qygQHUUqRxnAPmi0M9f00XA==}
...@@ -25194,7 +25182,6 @@ packages: ...@@ -25194,7 +25182,6 @@ packages:
- '@swc/core' - '@swc/core'
- esbuild - esbuild
- uglify-js - uglify-js
dev: true
/websocket-driver/0.7.3: /websocket-driver/0.7.3:
resolution: {integrity: sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==} resolution: {integrity: sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==}
...@@ -25600,9 +25587,9 @@ packages: ...@@ -25600,9 +25587,9 @@ packages:
/zwitch/2.0.4: /zwitch/2.0.4:
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
'@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2_react-refresh@0.12.0': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2_react-refresh@0.12.0':
resolution: {tarball: https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2} resolution: {tarball: https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2}
id: '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230426.2' id: '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-dev/js?turbopack-230427.2'
name: '@vercel/turbopack-dev' name: '@vercel/turbopack-dev'
version: 0.0.0 version: 0.0.0
dependencies: dependencies:
...@@ -25612,8 +25599,8 @@ packages: ...@@ -25612,8 +25599,8 @@ packages:
- webpack - webpack
dev: false dev: false
'@gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230426.2': '@gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230427.2':
resolution: {tarball: https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230426.2} resolution: {tarball: https://gitpkg.vercel.app/vercel/turbo/crates/turbopack-node/js?turbopack-230427.2}
name: '@vercel/turbopack-node' name: '@vercel/turbopack-node'
version: 0.0.0 version: 0.0.0
dependencies: dependencies:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment