File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,24 +248,26 @@ const redirects: StorageConfigRedirect[] = [
248248export default defineConfig ( {
249249 satellite : {
250250 id : "ucnx3-aqaaa-aaaal-ab3ea-cai" ,
251- source : "build" ,
251+ hosting : {
252+ source : "build" ,
253+ precompress : [
254+ {
255+ pattern : "**/*.+(js|mjs|css)" ,
256+ algorithm : "brotli" ,
257+ mode : "replace"
258+ } ,
259+ {
260+ pattern : "**/*.html" ,
261+ algorithm : "brotli" ,
262+ mode : "both"
263+ }
264+ ] ,
265+ predeploy : [ "npm run build" ]
266+ } ,
252267 storage : {
253268 headers,
254269 redirects
255- } ,
256- precompress : [
257- {
258- pattern : "**/*.+(js|mjs|css)" ,
259- algorithm : "brotli" ,
260- mode : "replace"
261- } ,
262- {
263- pattern : "**/*.html" ,
264- algorithm : "brotli" ,
265- mode : "both"
266- }
267- ] ,
268- predeploy : [ "npm run build" ]
270+ }
269271 } ,
270272 orbiter : {
271273 id : "3iier-sqaaa-aaaal-aczaa-cai"
You can’t perform that action at this time.
0 commit comments