Fix build script

This commit is contained in:
Julien Nahum 2024-01-06 00:31:28 +01:00
parent 75f6ca28ec
commit 4ada3c5bad
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ export default defineNuxtConfig({
'@vueuse/motion/nuxt',
'nuxt3-notifications',
'nuxt-simple-sitemap',
'@nuxt/image'
'@nuxt/image',
// ... opnformConfig.sentry_dsn ? ['@nuxtjs/sentry'] : [],
],
build: {
@ -33,7 +33,7 @@ export default defineNuxtConfig({
inlineRouteRules: true
},
sentry: {
dsn: opnformConfig.sentry_dsn,
dsn: process.env.NUXT_PUBLIC_SENTRY_DSN,
},
components: [
{

View File

@ -3,7 +3,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt build",
"build": "nuxt build",
"dev": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt dev",
"generate": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt generate",
"preview": "nuxt preview",