0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
The web framework for content-driven websites. ️ Star to support our work!
Find a file
Matthew Phillips fd52bceea4
Build/bundle assets and CSS (#1786)
* 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>
2021-11-11 08:44:11 -05:00
.changeset Build/bundle assets and CSS (#1786) 2021-11-11 08:44:11 -05:00
.github Enable Windows tests (#1712) 2021-11-02 08:13:36 -06:00
.vscode Fix GoToDefinition for component imports (and component usage) (#1045) 2021-08-09 12:03:32 -04:00
assets Update assets (#1761) 2021-11-07 11:59:02 -06:00
docs [ci] yarn format 2021-11-10 20:09:08 +00:00
examples Version Packages (next) (#1745) 2021-11-09 12:59:13 -06:00
packages Build/bundle assets and CSS (#1786) 2021-11-11 08:44:11 -05:00
scripts [ci] collect stats 2021-11-11 12:05:24 +00:00
tools/vscode/syntaxes Remove VSCode and Langauge Server from this monorepo (#1230) 2021-08-26 13:14:47 -04:00
www Update www site (#1775) 2021-11-10 14:46:18 -05:00
.editorconfig Adds .editorconfig file (#162) 2021-05-03 12:41:39 -05:00
.eslintignore 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
.eslintrc.cjs 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
.gitignore 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
.gitpod.yml Gitpod: Add astro vscode exts. Enable prebuild environments (#1394) 2021-09-20 14:00:25 -07:00
.nvmrc set node version in nvmrc & engines to lts (#87) 2021-04-13 13:03:26 -04:00
.prettierignore do not format vite (#1710) 2021-10-29 14:45:32 -05:00
.prettierrc.json Annoying Lint PR™ (#3) 2021-03-16 12:37:45 -06:00
CODE_OF_CONDUCT.md [ci] yarn format 2021-06-24 00:27:22 +00:00
CONTRIBUTING.md 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
FUNDING.md [ci] yarn format 2021-08-18 05:40:42 +00:00
FUNDING.yml Create FUNDING.md (#1137) 2021-08-17 22:39:20 -07:00
GOVERNANCE.md docs: fix playbook anchor in governance.md (#1784) 2021-11-10 12:07:20 -06:00
lerna.json 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
LICENSE redesign create-astro (#301) 2021-06-08 11:10:56 -04:00
package.json 🚀 Astro Next (0.21.0) (#1406) 2021-10-29 15:30:22 -04:00
README.md Add README to packages/astro (#313) 2021-06-07 17:38:22 -05:00
tsconfig.base.json Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
yarn.lock Build/bundle assets and CSS (#1786) 2021-11-11 08:44:11 -05:00

Astro is a fresh but familiar approach to building websites. Astro combines decades of proven performance best practices with the DX improvements of the component-oriented era. Use your favorite JavaScript framework and automatically ship the bare-minimum amount of JavaScript—by default.

Announcement Post →

Full Documentation Site →

Project Status

⚠️ Astro is still an early beta, missing features and bugs are to be expected! If you can stomach it, then Astro-built sites are production ready and several production websites built with Astro already exist in the wild. We will update this note once we get closer to a stable, v1.0 release.

Quick Start

# get started with astro in 3 easy steps:
mkdir new-project-directory
cd new-project-directory
npm init astro

Full Documentation Site →

Sponsors

You can sponsor Astro's development on Open Collective. Astro is generously supported by the following companies and individuals:

Platinum Sponsors

Netlify Vercel

Sponsors

Sentry