mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-18 00:51:47 +03:00
ci: try deploying with a netlify edge function
This commit is contained in:
parent
a12d3d09b1
commit
4ec40db279
1 changed files with 9 additions and 0 deletions
|
@ -70,6 +70,14 @@ export default defineNuxtConfig({
|
||||||
'postcss-nested': {},
|
'postcss-nested': {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
transpile: ['@fnando/sparkline'],
|
||||||
|
},
|
||||||
|
hooks: {
|
||||||
|
'nitro:config': function (config) {
|
||||||
|
config.alias['isomorphic-ws'] = 'unenv/runtime/mock/proxy'
|
||||||
|
},
|
||||||
|
},
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
cloudflare: {
|
cloudflare: {
|
||||||
accountId: '',
|
accountId: '',
|
||||||
|
@ -97,6 +105,7 @@ export default defineNuxtConfig({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
nitro: {
|
nitro: {
|
||||||
|
preset: 'netlify-edge',
|
||||||
prerender: {
|
prerender: {
|
||||||
crawlLinks: true,
|
crawlLinks: true,
|
||||||
routes: ['/'],
|
routes: ['/'],
|
||||||
|
|
Loading…
Reference in a new issue