You've already forked AstralRinth
forked from didirus/AstralRinth
Fix Cloudflare Pages build (#1285)
* fix(temp): remove box shadows from tailwind config * fix(temp): "polyfill" global during build process * refactor: use `import.meta` instead of deprecated `process` * oops: replace `process.server` as well
This commit is contained in:
@@ -80,6 +80,14 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
vite: {
|
||||
define: {
|
||||
global: {},
|
||||
},
|
||||
esbuild: {
|
||||
define: {
|
||||
global: "globalThis",
|
||||
},
|
||||
},
|
||||
cacheDir: "../../node_modules/.vite/apps/knossos",
|
||||
resolve: {
|
||||
dedupe: ["vue"],
|
||||
|
||||
Reference in New Issue
Block a user