mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
0e074fb390
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3.7 KiB
3.7 KiB
@astrojs/internal-helpers
0.3.0
Minor Changes
-
#10189
1ea0a25b94125e4f6f2ac82b42f638e22d7bdffd
Thanks @peng! - Adds the option to pass an object tobuild.assetsPrefix
. This allows for the use of multiple CDN prefixes based on the target file type.When passing an object to
build.assetsPrefix
, you must also specify afallback
domain to be used for all other file types not specified.Specify a file extension as the key (e.g. 'js', 'png') and the URL serving your assets of that file type as the value:
// astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ build: { assetsPrefix: { js: 'https://js.cdn.example.com', mjs: 'https://js.cdn.example.com', // if you have .mjs files, you must add a new entry like this png: 'https://images.cdn.example.com', fallback: 'https://generic.cdn.example.com', }, }, });
0.2.1
Patch Changes
- #8737
6f60da805
Thanks @ematipico! - Add provenance statement when publishing the library from CI
0.2.0
Minor Changes
-
#8188
d0679a666
Thanks @ematipico! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023. -
#8179
6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate
Patch Changes
0.2.0-rc.2
Minor Changes
0.2.0-beta.1
Patch Changes
0.2.0-beta.0
Minor Changes
1eae2e3f7
Thanks @Princesseuh! - Remove support for Node 16. The lowest supported version by Astro and all integrations is now v18.14.1. As a reminder, Node 16 will be deprecated on the 11th September 2023.
0.1.2
Patch Changes
- #7935
6035bb35f
Thanks @natemoo-re! - AddcollapseDuplicateSlashes
helper