Skip to content

Conversation

@danielroe
Copy link
Member

πŸ”— Linked issue

resolves #854

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

we were only respecting 'top' layer host config for some reason - this allows any layer to set the default host (as well as port)

@github-actions
Copy link
Contributor

Bundle Stats β€” nuxt-cli size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
30 86.27 kB β†’ 86.25 kB (-24 B) -0.03%
Changeset
File Ξ” Size
home/runner/work/cli/cli/packages/nuxi/src/commands/dev.ts πŸ“‰ -24 B (-0.25%) 9.2 kB β†’ 9.18 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev.mjs 9.2 kB β†’ 9.18 kB (-24 B) -0.25%

Unchanged

Asset File Size % Changed
index.mjs 200 B 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/devtools.mjs 763 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 8.1 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/dev2.mjs 8.65 kB 0%
chunks/add2.mjs 10.48 kB 0%
chunks/search.mjs 2.96 kB 0%
shared/cli._z5VCu98.mjs 5.45 kB 0%
shared/cli.bi5OC8da.mjs 804 B 0%
shared/cli.KJpGTHw2.mjs 294 B 0%
shared/cli.Cf-kV8BK.mjs 1.23 kB 0%
shared/cli.BSm0_9Hr.mjs 107 B 0%
shared/cli.Drw3CBEU.mjs 836 B 0%
shared/cli.DlcAx0De.mjs 1.04 kB 0%
shared/cli.DYpfcW4f.mjs 1.72 kB 0%
shared/cli.D_8zljrj.mjs 78 B 0%
shared/cli.C935N1ss.mjs 687 B 0%

@github-actions
Copy link
Contributor

Bundle Stats β€” create-nuxt size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
49 5.92 MB β†’ 5.92 MB (-24 B) -0.00%
Changeset
File Ξ” Size
home/runner/work/cli/cli/packages/nuxi/src/commands/dev.ts πŸ“‰ -24 B (-0.25%) 9.25 kB β†’ 9.23 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev.mjs 9.25 kB β†’ 9.23 kB (-24 B) -0.25%

Unchanged

Asset File Size % Changed
index.mjs 1.07 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/prompt.mjs 42.91 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/kit.mjs 1.34 kB 0%
chunks/index2.mjs 1.17 MB 0%
chunks/dev2.mjs 251.8 kB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.98 kB 0%
chunks/add2.mjs 12.4 kB 0%
chunks/search.mjs 45.85 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 140.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 6.18 kB 0%
chunks/index7.mjs 50.23 kB 0%
chunks/index8.mjs 5.85 kB 0%
chunks/index9.mjs 886.24 kB 0%
shared/create-nuxt.DCHgbuFc.mjs 961.79 kB 0%
shared/create-nuxt.C9St3r5H.mjs 18.95 kB 0%
shared/create-nuxt.B_Ur0n8M.mjs 804 B 0%
shared/create-nuxt.DMDH2Yqt.mjs 294 B 0%
shared/create-nuxt.Bc2EzVS7.mjs 3.9 kB 0%
shared/create-nuxt.DJy9NAUX.mjs 4.07 kB 0%
shared/create-nuxt.BSm0_9Hr.mjs 107 B 0%
shared/create-nuxt.csO2E1TP.mjs 836 B 0%
shared/create-nuxt.DoA9rdVe.mjs 108.13 kB 0%
shared/create-nuxt.jjur9XJH.mjs 43.55 kB 0%
shared/create-nuxt.BtTONTle.mjs 2.02 MB 0%
shared/create-nuxt.BjhZEm2-.mjs 1.75 kB 0%
shared/create-nuxt.DnK9Crop.mjs 26.94 kB 0%
shared/create-nuxt.4P4S8X-l.mjs 15.2 kB 0%
shared/create-nuxt.E7uqTZJb.mjs 715 B 0%

@github-actions
Copy link
Contributor

Bundle Stats β€” nuxi size comparison

Hey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle.

As this PR is updated, I'll keep you updated on how the bundle size is impacted.

Total

Files count Total bundle size % Changed
55 5.49 MB β†’ 5.49 MB (-24 B) -0.00%
Changeset
File Ξ” Size
src/commands/dev.ts πŸ“‰ -24 B (-0.25%) 9.25 kB β†’ 9.23 kB
View detailed bundle breakdown

Added

No assets were added

Removed

No assets were removed

Bigger

No assets were bigger

Smaller

Asset File Size % Changed
chunks/dev.mjs 9.25 kB β†’ 9.23 kB (-24 B) -0.25%

Unchanged

Asset File Size % Changed
index.mjs 210 B 0%
chunks/prompt.mjs 42.91 kB 0%
chunks/add.mjs 6.89 kB 0%
chunks/analyze.mjs 3.27 kB 0%
chunks/build.mjs 1.97 kB 0%
chunks/cleanup.mjs 471 B 0%
chunks/dev-child.mjs 2.33 kB 0%
chunks/devtools.mjs 764 B 0%
chunks/generate.mjs 472 B 0%
chunks/info.mjs 4.39 kB 0%
chunks/init.mjs 664.21 kB 0%
chunks/index.mjs 274 B 0%
chunks/prepare.mjs 984 B 0%
chunks/preview.mjs 3.5 kB 0%
chunks/test.mjs 1.16 kB 0%
chunks/typecheck.mjs 1.81 kB 0%
chunks/upgrade.mjs 6.28 kB 0%
chunks/satisfies.mjs 116 B 0%
chunks/main.mjs 15.3 kB 0%
chunks/index2.mjs 915.2 kB 0%
chunks/dev2.mjs 251.8 kB 0%
chunks/index3.mjs 17.14 kB 0%
chunks/index4.mjs 71.98 kB 0%
chunks/multipart-parser.mjs 5.11 kB 0%
chunks/add2.mjs 12.4 kB 0%
chunks/search.mjs 45.85 kB 0%
chunks/xdg-open.mjs 25.32 kB 0%
chunks/node.mjs 140.67 kB 0%
chunks/index5.mjs 1.23 kB 0%
chunks/index6.mjs 5.85 kB 0%
chunks/multipart-parser2.mjs 4.58 kB 0%
chunks/index7.mjs 886.24 kB 0%
shared/nuxi.DTVpiL9O.mjs 76.32 kB 0%
shared/nuxi.BRTZkrfa.mjs 18.95 kB 0%
shared/nuxi.bNYKvWIA.mjs 804 B 0%
shared/nuxi.BB9W7tZ7.mjs 294 B 0%
shared/nuxi.BGW6nQdv.mjs 2.57 kB 0%
shared/nuxi.D2_bzAv0.mjs 1.54 kB 0%
shared/nuxi.CAyXPNor.mjs 4.07 kB 0%
shared/nuxi.BSm0_9Hr.mjs 107 B 0%
shared/nuxi.BtmEn-Ei.mjs 836 B 0%
shared/nuxi.BxIDvNqq.mjs 1.34 kB 0%
shared/nuxi.Dza8Ny5q.mjs 15.2 kB 0%
shared/nuxi.DigSKSZu.mjs 25.34 kB 0%
shared/nuxi.C4l48OVX.mjs 2.02 MB 0%
shared/nuxi.D5KtpA0t.mjs 984 B 0%
shared/nuxi.BjhZEm2-.mjs 1.75 kB 0%
shared/nuxi.BJ6JgElB.mjs 715 B 0%
shared/nuxi.Kph9bHCN.mjs 26.94 kB 0%
shared/nuxi.DwB7MR9p.mjs 123.73 kB 0%
shared/nuxi.QWnQy_ku.mjs 5.75 kB 0%
shared/nuxi.wIrae1ai.mjs 54.97 kB 0%
shared/nuxi.Do0aYBCO.mjs 5.46 kB 0%
shared/nuxi.jjur9XJH.mjs 43.55 kB 0%

@pkg-pr-new
Copy link

pkg-pr-new bot commented Apr 18, 2025

Open in StackBlitz

npm i https://pkg.pr.new/create-nuxt@855
npm i https://pkg.pr.new/nuxi@855
npm i https://pkg.pr.new/@nuxt/cli@855

commit: 18783b1

@danielroe danielroe merged commit f49cea4 into main Apr 18, 2025
11 checks passed
@danielroe danielroe deleted the fix/layer-hosts branch April 18, 2025 12:10
@github-actions github-actions bot mentioned this pull request Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

devServer configuration from a layer is only partially applied in 3.16.0

2 participants