Fix build script
This commit is contained in:
parent
75f6ca28ec
commit
4ada3c5bad
|
@ -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: [
|
||||
{
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue