Fix build script
This commit is contained in:
parent
75f6ca28ec
commit
4ada3c5bad
|
@ -15,7 +15,7 @@ export default defineNuxtConfig({
|
||||||
'@vueuse/motion/nuxt',
|
'@vueuse/motion/nuxt',
|
||||||
'nuxt3-notifications',
|
'nuxt3-notifications',
|
||||||
'nuxt-simple-sitemap',
|
'nuxt-simple-sitemap',
|
||||||
'@nuxt/image'
|
'@nuxt/image',
|
||||||
// ... opnformConfig.sentry_dsn ? ['@nuxtjs/sentry'] : [],
|
// ... opnformConfig.sentry_dsn ? ['@nuxtjs/sentry'] : [],
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
|
@ -33,7 +33,7 @@ export default defineNuxtConfig({
|
||||||
inlineRouteRules: true
|
inlineRouteRules: true
|
||||||
},
|
},
|
||||||
sentry: {
|
sentry: {
|
||||||
dsn: opnformConfig.sentry_dsn,
|
dsn: process.env.NUXT_PUBLIC_SENTRY_DSN,
|
||||||
},
|
},
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt build",
|
"build": "nuxt build",
|
||||||
"dev": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt dev",
|
"dev": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt dev",
|
||||||
"generate": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt generate",
|
"generate": "export NODE_TLS_REJECT_UNAUTHORIZED=0; nuxt generate",
|
||||||
"preview": "nuxt preview",
|
"preview": "nuxt preview",
|
||||||
|
|
Loading…
Reference in New Issue