summaryrefslogtreecommitdiff
path: root/examples/fast-build/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-03-09Update tests for legacy build (#2746)Gravatar Fred K. Schott 11-160/+0
* move fast-build example into a test fixture for legacy build * update tests for legacy build
2022-03-08Move from yarn to pnpm (#2455)Gravatar Nate Moore 1-3/+3
* chore: `yarn` => `pnpm` * docs: `yarn` => `pnpm` * chore(ci): yarn => pnpm * chore(ci): update pnpm cache path * fix: add missing deps * fix: add missing deps * test: add package.json to all test fixtures * chore: improve hoisting behavior * chore: move turbo into package.json * chore: update npmrc * fix: add missing `debug` dependency * chore: remove prepare script * test: fix new tests * fix: fully resolve renderer paths and `astro/internal` path * chore: update lockfile * chore: remove log * fix: resolve renderers in vite-plugin-jsx * fix: prefer public-hoist-pattern to shamefully-hoist * chore: ignore @babel/core peer warning * chore: update dependencies * test: add autoprefixer as explicit dep * chore: update `.npmrc` file in examples * chore: update dependencies * fix: resolve renderer dependencies in static build * fix: static build renderer resolution * chore: fix smoke tests * chore: hoist autoprefixer * chore: update lockfile * attempt: use full file:// path on Windows * attempt: use astro/internal * attempt: optimize astro/internal * attempt: expose ./internal.js * chore: add missing package.json files * attempt: resolve astro/internal path * chore: tidy package.json * chore: update lockfile * chore: update deps * chore: update deps * chore: yarn -> pnpm * attempt: explicit /@fs urls * attempt: explicit /@fs urls * chore: update all examples for pnpm * chore: fix hoisting for with-vite-plugin-pwa * chore(ci): fix sharp install * chore: update with-vite-plugin-pwa example * fix: pin vite-plugin-pwa to 0.11.11 * fix: add workbox-window to vite-plugin-pwa deps * refactor: use pnpm update --recursive Co-authored-by: JuanM04 <me@juanm04.com> * chore: yarn => pnpm * chore: yarn => pnpm * fix: update smoke test to skip examples which don't work in static build * update lockfile * chore: update .npmrc files * chore: update lockfile * fix: smoke script * chore: update .npmrc file * fix: return to shamefully-hoist (shamefully) * chore: update lockfile * fix(smoke): ignore scripts for smoke tests * fix: update example to disable renderers * chore: bump version * chore(ci): fix smoke tests * attempt: disable --frozen-lockfile for smoke tests * chore: update smoke test * chore: fix rebase issue * chore: update lockfile * fix: smoke tests * fix(ci): run external smoke tests first * fix(ci): run syntax * chore: update lockfile * fix(ci): ensure submodules are up-to-date * fix(ci): ensure submodules are up-to-date * chore: update lockfile * chore: update for webapi * chore: silence node:* warnings * chore: update deps * fix(ci): persist generated webapi assets * fix(ci): webapi build script * chore(ci): remove custom node caching * chore: keep turbo.json * chore: update turbo, ignore create-astro * chore: update deps * fix(ci): test command * chore(ci): update test script Co-authored-by: JuanM04 <me@juanm04.com>
2022-02-02Fix support for scss in static build (#2522)Gravatar Matthew Phillips 2-2/+3
* Fix support for scss in static build * Adds a changeset * Pass the normalizedID to transformWithVite
2022-01-31Fix define:vars in the static build flag (#2511)Gravatar Matthew Phillips 1-0/+13
* Fix define:vars in the static build flag * Adds a changeset * linting
2022-01-28Fix use of preprocessors with the static build (#2490)Gravatar Matthew Phillips 1-0/+6
* Fix use of preprocessors with the static build * Adds a changeset
2022-01-20Supports hoisted scripts in the static build (#2414)Gravatar Matthew Phillips 4-0/+25
* Supports hoisted scripts in the static build * Adds a changeset * Update packages/astro/src/core/build/internal.ts Co-authored-by: Evan Boehs <evan@boehs.org> * Update based on feedback * Fix lint * Fix getting hoist script for Windows * Try with the pre compiler * use compiler 0.8.2 * update compiler version * update yarn.lock Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-07Handle loading the Code package in the static build (#2337)Gravatar Matthew Phillips 1-1/+9
* Handle loading the Code package Fixes #2329 * Use Code the normal way * Adds a changeset * Only resolve browser path if there is no common ancestor * Update examples/fast-build/src/pages/index.astro Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2022-01-04Only resolve inline script specifiers in the static build (#2302)Gravatar Matthew Phillips 3-6/+56
* Revert "Revert "Implement hydrated components in the static build (#2260)"" This reverts commit 17ac18e88c2b5a916c23ff7abc630fb98e313906. * Only resolve specifiers in the static build * Adding a changeset * Fix the client-only test
2021-12-30Revert "Implement hydrated components in the static build (#2260)" (#2292)Gravatar Matthew Phillips 3-56/+6
* Revert "Implement hydrated components in the static build (#2260)" This reverts commit ae5255dd25e36da2ce03f515af7b8f1ec6fcac91. * Adds a changeset
2021-12-30Implement hydrated components in the static build (#2260)Gravatar Matthew Phillips 3-6/+56
* Work on removing vite-postprocess * Gets hydration totally working * Formatting * Update based on PR comments * Bring back vite transform for non-static builds * Upgrade compiler version * Update the client-only test * Add debugging for windows * More debugging * Pass pathname into the markdown plugin as well * Include vite changes * Revert "Include vite changes" This reverts commit dee6348b233b6d6c6fea1e4dcc41c98c0452846c.
2021-12-22Use accessible indentation (#2253)Gravatar Jonathan Neal 3-31/+33
2021-12-21Flagged static (performance optimized) build (#2168)Gravatar Matthew Phillips 5-0/+55
* Progress on build demo * Go back to ESM * Some more progress on the new build * More progress here * Add support for hot reload * Almost done * Remove debugging stuff * chore(lint): Prettier fix * Pass through the origin * Do not use ssr mode * Use the logger * chore(lint): Prettier fix * Update yarn lock * Fix types * Only build chunks that are astro pages * Debugging windows * Prevent compilation race condition * Read the file if not found in the cache * Give a better error message when we can't find a page * chore(lint): Prettier fix * Fix windows maybe * chore(lint): Prettier fix * Some more windows debugging * chore(lint): Prettier fix * Remove console logs * More debugging * chore(lint): Prettier fix * More debugging info * chore(lint): Prettier fix * Remove logging again * Try to prevent port conflicts Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>