Skip to content

Commit

Permalink
fix: error message text (#13188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico authored Feb 7, 2025
1 parent 74c0bbe commit 7bc8256
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mean-icons-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes the wording of the an error message
2 changes: 1 addition & 1 deletion packages/astro/src/core/errors/errors-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const CantUseAstroConfigModuleError = {
name: 'CantUseAstroConfigModuleError',
title: 'Cannot use the `astro:config` module without enabling the experimental feature.',
message: (moduleName) =>
`Cannot import the module "${moduleName}" because the experimental feature is disabled. Enable \`experimental.serializeManifest\` in your \`astro.config.mjs\` `,
`Cannot import the module "${moduleName}" because the experimental feature is disabled. Enable \`experimental.serializeConfig\` in your \`astro.config.mjs\` `,
} satisfies ErrorData;

/**
Expand Down

0 comments on commit 7bc8256

Please sign in to comment.