Fred K. Bot
a76b0aa27c
[ci] release ( #4822 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 16:05:13 -04:00
Matthew Phillips
9bfbd63f05
Fixes processing of images in Netlify functions ( #4820 )
2022-09-20 15:33:01 -04:00
Fred K. Bot
a08b178cdb
[ci] release ( #4811 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 15:15:54 -04:00
Matthew Phillips
518e8f7e25
Allow passing promises to set:html ( #4819 )
...
* Allow passing promises to set:html
* Adding a changeset
2022-09-20 13:13:21 -04:00
Daniel
ce0b92ba73
update cloudflare esbuild config (fixing solid ssr) ( #4815 )
...
* fixing esbuild platform setting, to enable solid build
* added changeset
* changed change to major
Co-authored-by: AirBorne04 <daniel@floatingpixels.com>
2022-09-20 12:36:58 -04:00
Mohammed Elhaouari
a49bc2f02e
Fix extra slash when adding integrations that ends with /astro
( #4817 )
...
* fix toIdent util
* add changesets
2022-09-20 12:36:40 -04:00
Matthew Phillips
8d059faaed
Prevent errors in React components from crashing the dev server ( #4816 )
...
* Prevent errors in React components from crashing the dev server
* Add a changeset
* Fix test when running in the build
2022-09-20 09:38:17 -04:00
Enteleform
f53d97d56b
[chore] replaces hard-coded minify
values with vite.build.minify
( #4803 )
...
* [chore] replaces hard-coded `minify` values with `vite.build.minify`
* [style] changes ternary to not-equals
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
* [chore] removes `minify` in favor of user config & Vite defaults
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-09-20 08:32:58 -04:00
HiDeoo
c84d85ba4d
Add support for running create-astro
in cloned empty git repository ( #4805 )
2022-09-20 08:30:13 -04:00
Bjorn Lu
be9eaa0692
Allow override vite.build.target
( #4813 )
2022-09-20 08:12:13 -04:00
Luca Casonato
44fa378186
Remove explicit Transfer-Encoding: chunked
header ( #4807 )
...
* Remove explicit `Transfer-Encoding: chunked`
This header is not necessary and is ignored by essentially all HTTP
servers when provided explicitly by the user. This is because the HTTP
transport layer handles adding this header automatically as needed.
Some variations of HTTP transport (like HTTP/2, which is enabled by
default in Deno, Netlify, and CFW) have no notion of
`Transfer-Encoding: chunked`, because all responses are streamed.
* add changeset
2022-09-20 07:59:10 -04:00
Kristoffer K
df54595a88
fix(markdown-remark): declare hast-util-to-html
as a dependency ( #4787 )
2022-09-20 17:21:54 +08:00
Fred K. Bot
8a1dd4b7e8
[ci] release ( #4790 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-19 14:44:49 -04:00
Bjorn Lu
cf5ed5f3a8
Update Vite 3.1.3 ( #4802 )
2022-09-19 11:46:05 -04:00
Matthew Phillips
8f9463e07f
Fixes client:only CSS in Svelte components ( #4782 )
...
* Fixes client:only CSS in Svelte components
* Add changeset
2022-09-17 12:32:35 -04:00
Fred K. Bot
1c36b0ec18
[ci] release ( #4781 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-16 14:13:02 -04:00
Matthew Phillips
f3a81d82f6
Refactor to remove AstroConfig['_ctx'] ( #4771 )
...
* Refactor to remove AstroConfig['_ctx']
* Fix type error
* Export validateConfig
* Move to an options bag for createSettings
* Move config tests into test/untils/config
* Add a changeste
* fix build
2022-09-16 11:29:17 -04:00
Tony Sullivan
13a4b0d488
Revert "Adds a new "astro:build:generated" hook for SSG builds ( #4772 )" ( #4774 )
...
This reverts commit 03b18e8d1b
.
2022-09-15 21:24:23 +00:00
Tony Sullivan
03b18e8d1b
Adds a new "astro:build:generated" hook for SSG builds ( #4772 )
...
* adds a new "astro:build:generated" hook for SSG builds
* chore: add changeset
2022-09-15 21:02:07 +00:00
Fred K. Bot
b2da8a124a
[ci] release ( #4761 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-15 14:05:25 -04:00
Matthew Phillips
9a59e24e02
Ensure before-hydration is only loaded when used ( #4768 )
...
* Ensure before-hydration is only loaded when used
* client fix + changeset
2022-09-15 12:33:52 -04:00
Matthew Phillips
fc885eaea1
Read jsxImportSource from tsconfig ( #4759 )
...
* Read jsxImportSource from tsconfig
* Only read from tsconfig if not found earlier
2022-09-15 09:50:48 -04:00
Chris Swithinbank
0398efa39f
Tailwind v2 docs ( #4758 )
...
* Add migration notes to Tailwind changelog
* Include `tailwindcss` in manual install steps
* add changeset
2022-09-14 22:43:10 +02:00
Fred K. Bot
27aa9851d8
[ci] release ( #4750 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-14 16:06:23 -04:00
Matthew Phillips
005d5bacd9
Allow custom 404 route to handle API route missing methods ( #4594 )
...
* Properly allow file uploads in the dev server
* Allow custom 404 route to handle API route missing methods
* Add a changeset
* what was i thinking
* Pass through the pathname
* Move the try/catch out and into handleRequest
* await the result of handleRoute
2022-09-14 15:47:16 -04:00
Matthew Phillips
c271ed35ee
Only pass through children prop if there are children ( #4756 )
2022-09-14 15:42:38 -04:00
Peter Singh
664ebf449e
Update peer dep with Tailwindcss ( #4543 )
...
* Update peer dep
* Create leaders-of-the-free-world.md
Update: `@astrojs/tailwindcss` project with `tailwindcss` as a `peer-dependency`
* Removed tailwindcss as 'dependency'
* Update `pnpm-lock` with changes to deps
* Update .changeset/leaders-of-the-free-world.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-09-14 20:17:04 +01:00
Matthew Phillips
f1efd88dde
Compatiblity between hoisted scripts and tailwind integration ( #4755 )
...
* Compatiblity between hoisted scripts and tailwind integration
* Adds a changeset
2022-09-14 13:51:38 -04:00
Bjorn Lu
1bedb9427e
Support Vite 3.1 ( #4752 )
...
* Support Vite 3.1
* Update ~3.1.0
* Revert Vite bump
2022-09-14 12:01:50 -04:00
Bjorn Lu
c5e134d035
Fix console.error filtering ( #4748 )
2022-09-14 22:08:34 +08:00
Bjorn Lu
13ca686ea1
Handle builds with outDir outside of cwd ( #4736 )
2022-09-14 21:24:35 +08:00
Matthew Phillips
cf8a7e933d
Properly handle multipart file uploads in the dev server ( #4742 )
...
* Properly allow file uploads in the dev server
* Smaller image
* movethe test over
2022-09-14 07:58:00 -04:00
Fred K. Bot
150cd8a582
[ci] release ( #4729 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-13 15:15:05 -04:00
Nate Moore
8cfb3fb535
Migrate examples to type: module
( #4662 )
...
* chore: move examples to type module
* chore: prefer astro.config.mjs to astro.config.js
* chore: reference CJS config file
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-13 14:02:57 -05:00
Ben Holmes
4bc70f3545
Fix route validation for Netlify Edge ( #4722 )
...
* fix: serialize route pattern for Netlify edge
Co-authored-by: Jackie Macharia <jackiewmacharia>
* chore: changeset
2022-09-12 19:33:44 -04:00
Matthew Phillips
6efafa4b0e
Use import order to sort CSS in prod ( #4724 )
...
* Use import order to sort CSS in prod
* Adding a changeset
* Pass through the parent id
* Update remaining test
2022-09-12 16:35:39 -04:00
Fred K. Bot
56e225b41a
[ci] release ( #4707 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-12 15:08:39 -04:00
Ben Holmes
6e1d62fe22
[RSS] Fix failure when globbing index route ( #4701 )
...
* fix: [rss] throw on undefined urls only
* test: "" url, passing glob outside pages/
* chore: changeset
2022-09-12 15:05:57 -04:00
Juan Martín Seery
16113c3ae2
[vercel] Use Edge Functions instead of Edge Middlewares ( #4713 )
...
* Don't use middleware
* changeset
* breaking change
2022-09-12 14:40:48 -04:00
Matthew Phillips
0dba3b6f3f
Make error handling more resilient in the dev server ( #4723 )
...
* Make error handling more resilient in the dev server
* Better approach
* Add a changeset
2022-09-12 14:40:31 -04:00
Erika
5b6173fd03
Add an error message for improperly configured renderers ( #4705 )
...
* Add error messages for wrongly configured renderers
* Add changeset
2022-09-12 11:55:06 -03:00
Ben Holmes
b0ee81d0a7
Fix: Vue script setup
with other renderers applied ( #4706 )
...
* fix: add __ssrInlineRender to Vue check
* chore: remove console log
* test: vue builds with other renderer present
* chore: changeset
2022-09-09 19:09:59 -04:00
Fred K. Bot
100b8d0583
[ci] release ( #4702 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 17:18:03 -04:00
Ben Holmes
d28f7013c2
Fix [astro add]
fetch failure ( #4703 )
...
* fix: apply fetch polyfill earlier
* chore: changeset
2022-09-09 16:56:07 -04:00
Oussama Bennaci
1e5d8ba9af
[@astrojs/image] support additional resize options ( #4438 )
...
* working draft
* more sharp params
* add changeset
* fix typing
* wip
* add missing docblocks
* update lock file
* remove enlargement and reduction resize options
* add tests
* Add docs
* support crop options in pictures
* cleanup
* define crop types in docs
* cleanup
* remove kernel option
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-09 20:13:59 +00:00
Fred K. Bot
2737cabd10
[ci] release ( #4698 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 14:58:03 -04:00
Matthew Phillips
b85d05a841
Fix client:only CSS missing from child packages ( #4699 )
2022-09-09 14:51:58 -04:00
Ben Holmes
d1e6959147
[astro add] Move config update to final step ( #4682 )
...
* feat: move astro.config update to end
* chore: changeset
2022-09-09 14:06:39 -04:00
Alan
255636cc7b
Add support for custom non-html route encoding ( #4549 )
...
* Add custom encoding support for non-html routes
* Add changeset
* Add tests for png and json routes
2022-09-09 11:58:24 -04:00
Ben Holmes
c706d845eb
No 👏 more 👏 server 👏 restarts 👏 on 👏 config 👏 changes ( #4578 )
...
* feat: restart config on add, remove, update
* fix: reload for root project configs only
* fix: throw when userConfigPath can't resolve
* chore: changeset
* wip: remove normalizePath before writeFile
* refactor: invalidateWithCache -> isConfigReload
* wip: mustExist?
* debug: config loaded successfully
* debug: more logs
* debug: MORE logging
* fix: normalize resolved config path
* debug: yet MORE logging
* chore: bump proload
* fix: use file path, not URL.pathname
* Revert "wip: mustExist?"
This reverts commit 8ca8662132532dcdc9fd120868e615ddc60f498e.
* chore: remove console log
* feat: cleanup restart message, better invalid config handling
* chore: update lockfile
* chore: fix types
* fix: throw helpful error when config does not exist
* docs: remove "restart dev server" from integrations
* docs: make sure to restart -> try restarting
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-09 11:58:16 -04:00
Fred K. Bot
b6dd8b595c
[ci] release ( #4680 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-09 10:56:48 -04:00
Ben Holmes
f27ca6ab3e
Fix: Windows client-side script reloads on dev server ( #4645 )
...
* fix: append forward slash to script paths for "C:/" prob
* chore: remove dead regex
* chore: changeset
* test: add client script test back to windows!
* test: add inline script test for sanity
* The actual fix
Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-09-09 10:53:34 -04:00
Matthew Phillips
63e49c3b64
Prevent locking up when encountering invalid CSS ( #4675 )
...
* Prevent locking up when encountering invalid CSS
* Add a changeset
* Move the unit test to the test folder
* ponyfill aggregateerror
* Use the exported type
* keep original errors
* fix
2022-09-09 09:02:06 -04:00
Nate Moore
919df13b91
Improve cyclic reference detection, now ignores non-cyclic shared references ( #4684 )
...
* fix: improve cyclic reference detection, now ignores references that are not parent/child
* fix: only track cyclic parents
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-08 17:02:29 -05:00
Erika
cc242d3af2
Fix TypeScript compilation errors ( #4683 )
...
* Fix TypeScript compilation errors
* Update lockfile
* Add changeset
2022-09-08 16:31:54 -03:00
Tony Sullivan
4c05c65a3d
[@astrojs/image] Build all optimized images to dist/assets ( #4678 )
...
* fix: build all optimized images to dist/assets
* chore: add changeset
2022-09-08 18:41:17 +00:00
Matthew Phillips
5986517b4f
Make React integration work with Deno ( #4679 )
...
* Remove removed packages folder
* fix
* Add a changeset
2022-09-08 12:30:49 -04:00
Benjamin Holmes
9290b24143
Fix component frameworks on Vercel Edge ( #4667 )
...
* fix: use while instead of "for await" in react integration
* fix: cast HTML to string to fix other integrations
* docs: add comment on encode(String(html))
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-09-07 19:41:37 -04:00
Fred K. Bot
f165353e7a
[ci] release ( #4657 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-07 21:29:44 +00:00
John Daly
d31e72c3ba
fix: exportName metadata for JSXMemberExpressions that use named imports ( #4403 )
...
* fix: exportName metadata for JSXMemberExpressions that use named imports
* Adding changeset
* Adding E2E test
* Adding tests for MDX
2022-09-07 13:51:09 -05:00
Marvin Hagemeister
999250d651
Automatically set up Preact DevTools in dev mode ( #4515 )
2022-09-07 13:49:07 -05:00
Nate Moore
98f242cdcd
Throw helpful errors when attempting to serialize cyclic references ( #4646 )
...
* fix(#4332 ): add helpful error on cyclic references
* chore: add changeset
* test(e2e): add cyclic reference test
* test(e2e): add preact integration
* chore: update lockfile
* fix: ensure vite client is loaded for 500 responses
Co-authored-by: Nate Moore <nate@astro.build>
2022-09-07 13:25:26 -05:00
Valentin Bersier
e4348a4eb4
@astrojs/image: add a background
option/prop to replace the alpha layer ( #4642 )
...
* Added `background` option and prop.
This optional color specifies which background to use when removing the
alpha channel if the output format doesn't support transparency.
* Modified existing tests
* Fixed wrong dimensions in tests
* Fixing a few instances of jpeg vs jpg
* Added color checking
* working on the tests
* tests are now passing
* Adding tests
* Added tests for background color
* no need to test with subpath
* Added fixture
* Renamed test fixture for background-color
* skipping test until fixed
* Typo
* Working on tests
* tests are passing
* Updated readme and added changeset
* Updated lockfile
* Updated lockfile
* Updated lockfile
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
2022-09-07 17:22:11 +00:00
Tony Sullivan
db70afdcd5
[@astrojs/image] Fixes a regression in remote image filenames ( #4649 )
...
* fixes a bug in filename creation for remote images without a file extension
* chore: add changeset
2022-09-07 13:56:07 +00:00
Matthew Phillips
6d845c353d
Upgrade minimum compiler version ( #4656 )
...
* Upgrade minimum compiler version
* Add changeset
* Update lockfile
2022-09-07 08:29:54 -04:00
Fred K. Bot
481e0d1d8a
[ci] release ( #4620 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-06 15:40:15 -04:00
Matthew Phillips
307b7b97ce
When removing duplicate CSS, also remove from metadata ( #4643 )
...
* When removing duplicate CSS, also remove from metadata
* Adding a changeset
2022-09-06 15:03:02 -04:00
Chris Swithinbank
eb1862b4e6
Improve third-party Astro package support ( #4623 )
2022-09-06 19:04:56 +02:00
Matthew Phillips
f08ca005e2
Add vueperslides to noExternal in vue integration ( #4639 )
2022-09-06 11:11:01 -04:00
Alan
494c2b8353
Parallelize @astrojs/image transforms ( #4626 )
2022-09-06 14:29:20 +00:00
Allan Chain
0068afb876
fix: ensure SSR module is loaded before testing is CSS ( #4621 )
2022-09-06 08:25:26 -04:00
Mohammed Elhaouari
63cd9d89e8
Fix AlpineJS homepage link ( #4622 )
...
* Update AlpineJS homepage
* Add changeset
2022-09-04 15:53:54 +02:00
Bjorn Lu
29a5fdc153
Correctly escape paths in file names ( #4584 )
2022-09-04 16:43:47 +08:00
Fred K. Bot
7114aee208
[ci] release ( #4604 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:50:59 -04:00
Matthew Phillips
36dee7169b
Provide a better error message when no jsx renderer configured ( #4603 )
...
* Provide a better error message when no jsx renderer configured
* Add a changeset
2022-09-02 16:45:17 -04:00
Fred K. Bot
592de3d703
[ci] release ( #4589 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-02 16:13:04 -04:00
Fred K. Schott
f018e365cf
Small polish to the "missing adapter" error message ( #4585 )
...
* improve output server error message
* chore: changeset
Co-authored-by: bholmesdev <hey@bholmes.dev>
2022-09-01 21:34:20 +00:00
Jan Müller
72c760e9b8
feat(image): throw if alt text is missing ( #4511 )
...
* feat(image): throw if no `alt` is provided
* chore: add changeset
* docs(image): update README
* updated alt text stuff throughout
* fixing with-mdx test suite
* warn for missing alt text, will throw an error in a future release
* final README tweaks
Co-authored-by: Tony Sullivan <tony.f.sullivan@outlook.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-09-01 21:24:07 +00:00
Tony Sullivan
56f83be92a
Fix: [@astrojs/image] handle filenames with spaces ( #4593 )
...
* fix: decode file URLs to handle filenames with spaces
* chore: add changeset
2022-09-01 20:31:53 +00:00
Bjorn Lu
16814dc718
Move ast-types as dev dependency ( #4586 )
2022-09-01 12:33:29 -04:00
Ben Holmes
db38f61b2b
[MDX] Fix: GFM and Smartypants missing by default ( #4588 )
...
* fix: apply Astro defaults on empty md config
* chore: changeset
2022-09-01 12:11:13 -04:00
Fred K. Bot
005d53145f
[ci] release ( #4555 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-31 18:03:27 -04:00
Chris Swithinbank
b92c24f409
Update astro add
integrations list ( #4574 )
2022-08-31 23:49:08 +02:00
Zicklag
294122b4e4
Deno custom 404 pages ( #4562 )
...
* Add Failing Test For Deno Custom 404 Pages
* Make Deno SSR Serve Custom 404 Pages
2022-08-31 16:11:46 -04:00
Bjorn Lu
9ad307a9fc
Remove unused CSS for client:load
components ( #4566 )
2022-08-31 22:36:41 +08:00
Tony Sullivan
00c605ce35
Image integration refactor and cleanup ( #4482 )
...
* WIP: simplifying the use of `fs` vs. the vite plugin
* removing a few node deps (etag and node:path)
* adding ts defs for sharp
* using the same mime package as astro's core App
* fixing file URL support in windows
* using file URLs when loading local image metadata
* fixing a bug in the etag helper
* Windows compat
* splitting out dev & build tests
* why do these suites fail in parallel?
* one last windows compat case
* Adding tests for treating /public images the same as remote URLs
* a couple fixes for Astro's `base` config
* adding base path tests for SSR
* fixing a bad merge, lost the kleur dependency
* adding a test suite for images + MDX
* chore: add changeset
* simplifying the with-mdx tests
* bugfix: don't duplicate the period when using existing file extensions
* let Vite cache the image loader service
* adding some docs for using /public images
* fixing changeset
* Update packages/integrations/image/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Update packages/integrations/image/README.md
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: minor README syntax tweaks
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 21:09:44 +00:00
Tony Sullivan
7429664566
Adds the "withastro" keyword to adapter packages ( #4558 )
...
* adds the "withastro" keyword to adapter packages
* chore: add changeset
2022-08-30 20:19:19 +00:00
Ben Holmes
8f8dff4d33
[MDX] Extend Markdown plugin config, with customization options ( #4504 )
...
* test: new combined remark / rehype suite
* fix: use with-plugins fixture
* chore: remove old mdx plugin tests
* docs: add JS docs
* docs: update README with thorough example
* chore: changeset
* fix: add "extends" error message
* fix: ignore string-based plugins in md
* feat: add warning log for string plugins
* docs: highlight `extendPlugins`
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* nit: highlight "extendPlugins"
* fix: md plugins type check
* chore: "defaults" -> "astroDefaults"
* nit: info log when inheriting markdown plugins
* refactor: one big log on new behavior
* dan: dan nit
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 13:38:35 -04:00
Fred K. Bot
e905784bf1
[ci] release ( #4520 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-30 12:45:04 -04:00
Kyle F Butts
8504cd79b7
Add custom components to mdx integration guide ( #4530 )
...
* Add custom components to mdx integration guide
* Update packages/integrations/mdx/README.md
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update packages/integrations/mdx/README.md
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update packages/integrations/mdx/README.md
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update packages/integrations/mdx/README.md
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Incorporate Sarah and Ben's Feedback
* Fix what would be an ugly background lol
* Sarah taking liberty of removing double text
* Add changeset
Co-authored-by: Ben Holmes <hey@bholmes.dev>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2022-08-30 11:55:52 -04:00
Matthew Phillips
2f05f5d307
Include trailingSlash in astro:build:done hook ( #4553 )
2022-08-30 11:45:16 -04:00
Ben Holmes
69b640b87c
Fix "failed to load for SSR" error when removing Astro <style>
blocks ( #4548 )
...
* wip: try removing ssrLoadModule on styles
* chore: changeset
* fix: invalidate mod before crawling graph
* Revert "fix: invalidate mod before crawling graph"
This reverts commit 883710d21c
.
* Revert "wip: try removing ssrLoadModule on styles"
This reverts commit 880e73d94a
.
* SAD fix: try/catch on ssrLoadModule
* refactor: isFile -> isRootFile
* docs: update comments for new findings
2022-08-30 11:27:19 -04:00
Bjorn Lu
9adb7cca33
Vite ignore unknown import ( #4527 )
2022-08-30 15:25:34 +08:00
Ben Holmes
bb71be78db
[astro add] Add an Adapter -> Add an SSR Adapter ( #4546 )
...
* nit: Add an Adapter -> Add an SSR Adapter
* chore: changeset
2022-08-29 17:05:12 -04:00
Matthew Phillips
1222ab9540
Configures Lit to work with its decorators ( #4503 )
...
* Configures Lit to work with its decorators
* Remove comment
2022-08-29 14:06:36 -04:00
Bjorn Lu
046bfd908d
Skip clean SSR output if page generation fails ( #4526 )
2022-08-29 23:59:25 +08:00
Bjorn Lu
2d2e38e473
Remove hardcoded Vite middleware handling ( #4531 )
2022-08-29 23:11:18 +08:00
Erika
ca28d7578b
Add missing slot attribute to possible attributes on SVG elements ( #4535 )
2022-08-29 12:06:50 -03:00
Erika
b8a80bc42d
Fix image integration's types not referring to the base types for Vite client types ( #4534 )
2022-08-29 12:06:41 -03:00
applemonkey496
d431fbe4e1
fix: config type import ( #4524 )
2022-08-29 00:12:58 -03:00