To avoid confusion I seperated the `npm run build` and the `npm run dev` commands, beginners might get confused by each command being listed in the same list, thinking they need to run `npm run build` before Astro works properly.
Add `npm run preview` commands to all examples where they are missing
* update docs site to leverage astro v0.21
* fix resolutions
* fix docsearch import
* Resolve `@docsearch/react` is a cross-execution-context-friendly way
* chore: update astro version
* fix: remove line highlighting syntax
* fix: braces inside of attr string
* Match current astro version
* Trim leading newline in MainLayout.astro template
* Move card grid styles into Layout
Co-authored-by: Nate Moore <nate@skypack.dev>
* Bundling CSS
* Current progress of building assets
* New build progress
* Its finally working
* Force css to go through the build
* Prettier filenames
* Split into separate CSS and HTML plugins
* Always have at least one input
* Bring back in sitemaps + output
* Bring back srcset support
* Bundle CSS
* Bring back minify
* Update dynamic tests
* Update remaining tests
* Linting
* Fix remaining broken test
* Use fs directly
* Adding a changeset
* Use path.posix
* Debugging windows
* More debugging
* Pass URLs into readFile
* Remove some debugging stuff
* Remove force flag from transformWithVite
* Update packages/astro/src/vite-plugin-build-css/index.ts
Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
Co-authored-by: Drew Powers <1369770+drwpow@users.noreply.github.com>
* Remove snowpack.config.js
* Update reference to global.scss
* Add support for local fonts, otherwise load only woff2 fonts
* Update reference to error.scss
* Update reference to blog.scss
* Change `config.js` to `config.ts` with Vite change
Co-authored-by: jasikpark <calebjasik@jasik.xyz>
* fixes links in german docs
* Adds german translation of installation.md
* Thnx for proofreading / correctinos
- agree upon informal version looking good so far
- next: fixing a few minor ones
Co-authored-by: Kim Schneider <web@schneider.kim>
* Finalizes the switch to informal german + some minor fixes
* applies changes from commit da8d4fdea0
Co-authored-by: Konstantinos Kostarellis <Konstantinos.Kostarellis@gmail.com>
Co-authored-by: Kim Schneider <web@schneider.kim>
* Revert "Revert "feat: improve `astro.config` loading by support `.cjs`, `.js`, and `.ts` files""
This reverts commit a26f7a2088.
* fix: throw when filename is specified but not found
* chore: @proload/core@0.2.1
* refactor: simplify to use Proload's filePath option
* fix: move to @proload/plugin-tsm
* Update packages/astro/src/core/config.ts
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>