* Support for using a subpath
* Update the readme
* Fix the package name
* Adds a changeset
* Ensure that public/ must be loaded from the subpath
* Update preview to use the new paths
* Use exact compiler version
* Use the newest version
* Use range again
* Use newer range
* Add Migration Guide to docs
* edit: replace astro.config.js with astro.config.mjs
* edit: use plain object in define:vars example
* edit: improve 'components in markdown' documentation
* edit: use astro resolve in file reference documentation example
* edit: rename 'writing plugins' heading to 'custom renderers'
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
* edit: fix PUBLIC_ environment variable example
* edit: fix define:vars variable in example
* edit: remove top-level alias documentation
* edit: cleanup "passing variables into scripts and styles" description
* Update migration-guide.md
* Update migration-guide.md
* update deployment config
* update configuration
* fix some errors and write a commit message about it
* move the migration guide
* update documentation
* add migration guide to sidebar
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Co-authored-by: Fred K. Schott <fkschott@gmail.com>
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>