Fix spelling mistakes found by codespell and mwic (#5627)
This commit is contained in:
parent
4d4883e816
commit
53e0c98dae
44 changed files with 51 additions and 51 deletions
|
@ -100,7 +100,7 @@ Note the top-level `en` key: This is needed for multi-language support. You can
|
|||
|
||||
### Multiple Languages support
|
||||
|
||||
The Astro docs template supports multiple langauges out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project.
|
||||
The Astro docs template supports multiple languages out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project.
|
||||
|
||||
To add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout:
|
||||
|
||||
|
@ -148,7 +148,7 @@ export const SIDEBAR = {
|
|||
// ...
|
||||
```
|
||||
|
||||
If you plan to use Spanish as the the default language, you just need to modify the redirect path in `src/pages/index.astro`:
|
||||
If you plan to use Spanish as the default language, you just need to modify the redirect path in `src/pages/index.astro`:
|
||||
|
||||
```diff
|
||||
<script>
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
- [#5511](https://github.com/withastro/astro/pull/5511) [`05915fec0`](https://github.com/withastro/astro/commit/05915fec01a51f27ab5051644f01e6112ecf06bc) Thanks [@matthewp](https://github.com/matthewp)! - Low-level head propagation
|
||||
|
||||
This adds low-level head propagation ability within the Astro runtime. This is not really useable within an Astro app at the moment, but provides the APIs necessary for `renderEntry` to do head propagation.
|
||||
This adds low-level head propagation ability within the Astro runtime. This is not really usable within an Astro app at the moment, but provides the APIs necessary for `renderEntry` to do head propagation.
|
||||
|
||||
- [#5553](https://github.com/withastro/astro/pull/5553) [`1aeabe417`](https://github.com/withastro/astro/commit/1aeabe417077505bc0cdb8d2e47366ddbc616072) Thanks [@matthewp](https://github.com/matthewp)! - Fix Astro.params not having values when using base in SSR
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ Looking for quick examples? [Open a starter project](https://astro.new/) right i
|
|||
|
||||
## Documentation
|
||||
|
||||
Visit our [offical documentation](https://docs.astro.build/).
|
||||
Visit our [official documentation](https://docs.astro.build/).
|
||||
|
||||
## Support
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import { getHighlighter as getShikiHighlighter } from 'shiki';
|
|||
import { themes } from './shiki-themes.js';
|
||||
import { languages } from './shiki-languages.js';
|
||||
|
||||
// Caches Promise<Highligher> for reuse when the same theme and langs are provided
|
||||
// Caches Promise<Highlighter> for reuse when the same theme and langs are provided
|
||||
const _resolvedHighlighters = new Map();
|
||||
|
||||
/** @type {Promise<any>} */
|
||||
|
|
|
@ -192,7 +192,7 @@ but ${plural ? 'none were.' : 'it was not.'} able to server-side render \`${comp
|
|||
* - [`client:only`](https://docs.astro.build/en/reference/directives-reference/#clientonly)
|
||||
* @description
|
||||
*
|
||||
* `client:only` components are not ran on the server, as such Astro does not know (and cannot guess) which renderer to use and require a hint. Like such:
|
||||
* `client:only` components are not run on the server, as such Astro does not know (and cannot guess) which renderer to use and require a hint. Like such:
|
||||
*
|
||||
* ```astro
|
||||
* <SomeReactComponent client:only="react" />
|
||||
|
@ -375,7 +375,7 @@ See https://docs.astro.build/en/guides/server-side-rendering/ for more informati
|
|||
* - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/)
|
||||
* - [Adding an Adapter](https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter)
|
||||
* @description
|
||||
* To use server-side rendering, an adapter needs to be installed so Astro knows how to generate the proper output for your targetted deployment platform.
|
||||
* To use server-side rendering, an adapter needs to be installed so Astro knows how to generate the proper output for your targeted deployment platform.
|
||||
*/
|
||||
NoAdapterInstalled: {
|
||||
title: 'Cannot use Server-side Rendering without an adapter.',
|
||||
|
|
|
@ -4,7 +4,7 @@ import { AstroErrorCodes, AstroErrorData } from './errors-data.js';
|
|||
/**
|
||||
* Get the line and character based on the offset
|
||||
* @param offset The index of the position
|
||||
* @param text The text for which the position should be retrived
|
||||
* @param text The text for which the position should be retrieved
|
||||
*/
|
||||
export function positionAt(
|
||||
offset: number,
|
||||
|
|
|
@ -76,7 +76,7 @@ export interface RouteCacheEntry {
|
|||
}
|
||||
|
||||
/**
|
||||
* Manange the route cache, responsible for caching data related to each route,
|
||||
* Manage the route cache, responsible for caching data related to each route,
|
||||
* including the result of calling getStaticPath() so that it can be reused across
|
||||
* responses during dev and only ever called once during build.
|
||||
*/
|
||||
|
|
|
@ -49,7 +49,7 @@ export function mergeSlots(...slotted: unknown[]) {
|
|||
return slots;
|
||||
}
|
||||
|
||||
/** @internal Assosciate JSX components with a specific renderer (see /src/vite-plugin-jsx/tag.ts) */
|
||||
/** @internal Associate JSX components with a specific renderer (see /src/vite-plugin-jsx/tag.ts) */
|
||||
export function __astro_tag_component__(Component: unknown, rendererName: string) {
|
||||
if (!Component) return;
|
||||
if (typeof Component !== 'function') return;
|
||||
|
|
|
@ -49,7 +49,7 @@ export function shorthash(text: string) {
|
|||
let result = '';
|
||||
|
||||
let integer = bitwise(text);
|
||||
const sign = integer < 0 ? 'Z' : ''; // It it's negative, start with Z, which isn't in the dictionary
|
||||
const sign = integer < 0 ? 'Z' : ''; // If it's negative, start with Z, which isn't in the dictionary
|
||||
|
||||
integer = Math.abs(integer);
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ export async function handleHotUpdate(
|
|||
for (const file of files) {
|
||||
if (isStyleOnlyChange && file === ctx.file) continue;
|
||||
invalidateCompilation(config, file);
|
||||
// If `ctx.file` is depended by an .astro file, e.g via `this.addWatchFile`,
|
||||
// If `ctx.file` is depended by an .astro file, e.g. via `this.addWatchFile`,
|
||||
// Vite doesn't trigger updating that .astro file by default. See:
|
||||
// https://github.com/vitejs/vite/issues/3216
|
||||
// For now, we trigger the change manually here.
|
||||
|
|
|
@ -12,7 +12,7 @@ export interface ParsedRequestResult {
|
|||
query: AstroQuery;
|
||||
}
|
||||
|
||||
// Parses an id to check if its an Astro request.
|
||||
// Parses an id to check if it's an Astro request.
|
||||
// CSS is imported like `import '/src/pages/index.astro?astro&type=style&index=0&lang.css';
|
||||
// This parses those ids and returns an object representing what it found.
|
||||
export function parseAstroRequest(id: string): ParsedRequestResult {
|
||||
|
|
|
@ -75,7 +75,7 @@ const getConfigAlias = (settings: AstroSettings): Alias[] | null => {
|
|||
return aliases;
|
||||
};
|
||||
|
||||
/** Returns a Vite plugin used to alias pathes from tsconfig.json and jsconfig.json. */
|
||||
/** Returns a Vite plugin used to alias paths from tsconfig.json and jsconfig.json. */
|
||||
export default function configAliasVitePlugin({
|
||||
settings,
|
||||
}: {
|
||||
|
|
|
@ -9,7 +9,7 @@ const injectExp = /^\/\/\s*astro-head-inject/;
|
|||
* If any component is marked as doing head injection, walk up the tree
|
||||
* and mark parent Astro components as having head injection in the tree.
|
||||
* This is used at runtime to determine if we should wait for head content
|
||||
* to be be populated before rendering the entire tree.
|
||||
* to be populated before rendering the entire tree.
|
||||
*/
|
||||
export default function configHeadPropagationVitePlugin({
|
||||
settings,
|
||||
|
|
|
@ -95,7 +95,7 @@ describe('CSS Bundling', function () {
|
|||
expect(dir).to.have.a.lengthOf(4);
|
||||
});
|
||||
|
||||
it('CSS does not include hashes hashes', async () => {
|
||||
it('CSS does not include hashes', async () => {
|
||||
const [firstFound] = await fixture.readdir('/assets');
|
||||
expect(firstFound).to.not.match(/[a-z]+\.[0-9a-z]{8}\.css/);
|
||||
});
|
||||
|
|
|
@ -78,7 +78,7 @@ describe('Environment Variables', () => {
|
|||
|
||||
// Look in all of the .js files to see if the public env is inlined.
|
||||
// Testing this way prevents hardcoding expected js files.
|
||||
// If we find it in any of them that's good enough to know its NOT working.
|
||||
// If we find it in any of them that's good enough to know it's NOT working.
|
||||
await Promise.all(
|
||||
dirs.map(async (path) => {
|
||||
if (path.endsWith('.js')) {
|
||||
|
|
|
@ -22,7 +22,7 @@ describe('Custom Elements', () => {
|
|||
// test 1: Element rendered
|
||||
expect($('my-element')).to.have.lengthOf(1);
|
||||
|
||||
// test 2: shadow rendererd
|
||||
// test 2: shadow rendered
|
||||
expect($('my-element template[shadowroot=open]')).to.have.lengthOf(1);
|
||||
});
|
||||
|
||||
|
|
|
@ -472,7 +472,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"scope": ["constant.numeric", "constant.language", "constant.charcter.escape"],
|
||||
"scope": ["constant.numeric", "constant.language", "constant.character.escape"],
|
||||
"settings": {
|
||||
"foreground": "#F19A8E"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -104,13 +104,13 @@ This php is a counter. So we can identify the first instance and assign an `if`
|
|||
<a class="<?php if($row == 1) {echo 'active';}?>">
|
||||
```
|
||||
|
||||
The final thing to do, is to keep the counter running, but adding this jsut before the `endwhile`.
|
||||
The final thing to do, is to keep the counter running, but adding this just before the `endwhile`.
|
||||
|
||||
```php
|
||||
<?php $row++; endwhile; // (have_rows('tab_panes') ):?>
|
||||
```
|
||||
|
||||
Once you've added these to the tab panes in a similar way, you'll be up and running with Boostrap Tabs.
|
||||
Once you've added these to the tab panes in a similar way, you'll be up and running with Bootstrap Tabs.
|
||||
|
||||
Below is a Github Gist, with the complete code for reference. [Link to this (if you can't see the iFrame)](https://gist.github.com/endymion1818/478d86025f41c8060888 "Github GIST for Advanced Custom Fields bootstrap tabs").
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ describe('LitElement test', function () {
|
|||
expect(stripExpressionMarkers($('my-element').html())).to.include(`<div id="bool">B</div>`);
|
||||
|
||||
// test 5: object reactive property set
|
||||
// by default objects will be stringifed to [object Object]
|
||||
// by default objects will be stringified to [object Object]
|
||||
expect(stripExpressionMarkers($('my-element').html())).to.include(
|
||||
`<div id="data">data: 1</div>`
|
||||
);
|
||||
|
|
|
@ -47,7 +47,7 @@ describe('react-jsx-export', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('Can not output React Invalid Hook warning', async () => {
|
||||
it('Cannot output React Invalid Hook warning', async () => {
|
||||
expect(logs.every((log) => log.message.indexOf(reactInvalidHookWarning) === -1)).to.be.true;
|
||||
});
|
||||
});
|
||||
|
|
|
@ -58,7 +58,7 @@ export const defaultLogging = {
|
|||
*
|
||||
* Dev
|
||||
* .startDevServer() - Async. Starts a dev server at an available port. Be sure to call devServer.stop() before test exit.
|
||||
* .fetch(url) - Async. Returns a URL from the prevew server (must have called .preview() before)
|
||||
* .fetch(url) - Async. Returns a URL from the preview server (must have called .preview() before)
|
||||
*
|
||||
* Preview
|
||||
* .preview() - Async. Starts a preview server. Note this can’t be running in same fixture as .dev() as they share ports. Also, you must call `server.close()` before test exit
|
||||
|
@ -112,7 +112,7 @@ export async function loadFixture(inlineConfig) {
|
|||
const resolveUrl = (url) =>
|
||||
`http://${config.server.host}:${config.server.port}${url.replace(/^\/?/, '/')}`;
|
||||
|
||||
// A map of files that have been editted.
|
||||
// A map of files that have been edited.
|
||||
let fileEdits = new Map();
|
||||
|
||||
const resetAllFiles = () => {
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [#4810](https://github.com/withastro/astro/pull/4810) [`7481ffda0`](https://github.com/withastro/astro/commit/7481ffda028d9028d8e28bc7c6e9960ab80acf0f) Thanks [@mrienstra](https://github.com/mrienstra)! - Alway write chosen config to `tsconfig.json`.
|
||||
- [#4810](https://github.com/withastro/astro/pull/4810) [`7481ffda0`](https://github.com/withastro/astro/commit/7481ffda028d9028d8e28bc7c6e9960ab80acf0f) Thanks [@mrienstra](https://github.com/mrienstra)! - Always write chosen config to `tsconfig.json`.
|
||||
|
||||
- Before: Only when `strict` & `strictest` was selected
|
||||
- After: Also when `base` is selected (via "Relaxed" or "I prefer not to use TypeScript")
|
||||
|
@ -263,7 +263,7 @@
|
|||
|
||||
### Patch Changes
|
||||
|
||||
- 0eeb2534: change rm to unlink for node 12 compatability
|
||||
- 0eeb2534: change rm to unlink for node 12 compatibility
|
||||
|
||||
## 0.6.2
|
||||
|
||||
|
@ -314,7 +314,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- 36e104b: Use new client: prefix for component exmaples
|
||||
- 36e104b: Use new client: prefix for component examples
|
||||
|
||||
## 0.4.0
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
### Patch Changes
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ export function shorthash(text: string) {
|
|||
let result = '';
|
||||
|
||||
let integer = bitwise(text);
|
||||
const sign = integer < 0 ? 'Z' : ''; // It it's negative, start with Z, which isn't in the dictionary
|
||||
const sign = integer < 0 ? 'Z' : ''; // If it's negative, start with Z, which isn't in the dictionary
|
||||
|
||||
integer = Math.abs(integer);
|
||||
|
||||
|
|
|
@ -1018,7 +1018,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -1135,7 +1135,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -1029,7 +1029,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -1109,7 +1109,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -1001,7 +1001,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -1153,7 +1153,7 @@ var Module = (function () {
|
|||
}
|
||||
function replacePublicSymbol(name, value, numArguments) {
|
||||
if (!Module.hasOwnProperty(name)) {
|
||||
throwInternalError('Replacing nonexistant public symbol')
|
||||
throwInternalError('Replacing nonexistent public symbol')
|
||||
}
|
||||
if (
|
||||
undefined !== Module[name].overloadTable &&
|
||||
|
|
|
@ -66,7 +66,7 @@ describe('SSR images - dev', function () {
|
|||
contentType: 'image/webp',
|
||||
},
|
||||
{
|
||||
title: 'Remote wihtout file extension',
|
||||
title: 'Remote without file extension',
|
||||
id: '#ipsum',
|
||||
url: '/_image',
|
||||
query: {
|
||||
|
@ -181,7 +181,7 @@ describe('SSR images with subpath - dev', function () {
|
|||
contentType: 'image/webp',
|
||||
},
|
||||
{
|
||||
title: 'Remote wihtout file extension',
|
||||
title: 'Remote without file extension',
|
||||
id: '#ipsum',
|
||||
url: '/_image',
|
||||
query: {
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
### Patch Changes
|
||||
|
||||
- [#3511](https://github.com/withastro/astro/pull/3511) [`2fedb974`](https://github.com/withastro/astro/commit/2fedb974899b37a8d9ddabc476764a6d35d1e446) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Patch Lit's server shim to allow for `sass` compatability
|
||||
- [#3511](https://github.com/withastro/astro/pull/3511) [`2fedb974`](https://github.com/withastro/astro/commit/2fedb974899b37a8d9ddabc476764a6d35d1e446) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Patch Lit's server shim to allow for `sass` compatibility
|
||||
|
||||
## 0.1.4
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ describe('renderToStaticMarkup', () => {
|
|||
}
|
||||
});
|
||||
|
||||
it('should render emtpy component with default markup', async () => {
|
||||
it('should render empty component with default markup', async () => {
|
||||
const tagName = 'nothing-component';
|
||||
customElements.define(tagName, class extends LitElement {});
|
||||
const render = await renderToStaticMarkup(tagName);
|
||||
|
|
|
@ -354,7 +354,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
## 0.0.2
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ export const createExports = (manifest: SSRManifest, args: Args) => {
|
|||
method: httpMethod,
|
||||
headers: new Headers(headers as any),
|
||||
};
|
||||
// Attach the event body the the request, with proper encoding.
|
||||
// Attach the event body the request, with proper encoding.
|
||||
if (httpMethod !== 'GET' && httpMethod !== 'HEAD') {
|
||||
const encoding = isBase64Encoded ? 'base64' : 'utf-8';
|
||||
init.body =
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
## 0.0.2
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ export default (element) =>
|
|||
children != null ? createElement(StaticHtml, { value: children }) : children
|
||||
);
|
||||
const rootKey = isAlreadyHydrated(element);
|
||||
// HACK: delete internal react marker for nested components to suppress agressive warnings
|
||||
// HACK: delete internal react marker for nested components to suppress aggressive warnings
|
||||
if (rootKey) {
|
||||
delete element[rootKey];
|
||||
}
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
### Patch Changes
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ function getRenderer(): AstroRenderer {
|
|||
|
||||
async function getViteConfiguration(isDev: boolean, astroConfig: AstroConfig) {
|
||||
// https://github.com/solidjs/vite-plugin-solid
|
||||
// We inject the dev mode only if the user explicitely wants it or if we are in dev (serve) mode
|
||||
// We inject the dev mode only if the user explicitly wants it or if we are in dev (serve) mode
|
||||
const nestedDeps = ['solid-js', 'solid-js/web', 'solid-js/store', 'solid-js/html', 'solid-js/h'];
|
||||
const solidPkgsConfig = await getSolidPkgsConfig(!isDev, astroConfig);
|
||||
return {
|
||||
|
|
|
@ -120,7 +120,7 @@ npm install tailwindcss
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
### Patch Changes
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ export default defineConfig({
|
|||
```
|
||||
|
||||
> **Note**
|
||||
> When building for the Edge, all the depencies get bundled in a single file to save space. **No extra file will be bundled**. So, if you _need_ some file inside the function, you have to specify it in `includeFiles`.
|
||||
> When building for the Edge, all the dependencies get bundled in a single file to save space. **No extra file will be bundled**. So, if you _need_ some file inside the function, you have to specify it in `includeFiles`.
|
||||
|
||||
|
||||
### excludeFiles
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -242,7 +242,7 @@
|
|||
|
||||
### Minor Changes
|
||||
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to resepect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
- [`e425f896`](https://github.com/withastro/astro/commit/e425f896b668d98033ad3b998b50c1f28bc7f6ee) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Update config options to respect [RFC0019](https://github.com/withastro/rfcs/blob/main/proposals/0019-config-finalization.md)
|
||||
|
||||
## 0.7.0
|
||||
|
||||
|
|
Loading…
Reference in a new issue