Merge pull request 'run as node' (#51) from bx-1146-more_calc into dev
Deploy / build_and_push_images (push) Successful in 1m22s Details
Deploy / deploy_to_server_dev (push) Successful in 33s Details

Reviewed-on: #51
This commit is contained in:
ksenia_mikhailova 2024-07-25 13:42:34 +03:00
commit 244e09329c
2 changed files with 4 additions and 9 deletions

View File

@ -12,5 +12,5 @@ RUN npm install --omit=dev
COPY . /src
RUN npm run build
CMD npm run preview -- --host
# CMD node .output/server/index.mjs
# CMD npm run preview -- --host
CMD node .output/server/index.mjs

View File

@ -11,11 +11,6 @@ export default defineNuxtConfig({
},
},
},
vue: {
compilerOptions: {
isCustomElement: (tag) => ['nobr'].includes(tag),
}
},
ssr: true,
modules: [
'@nuxtjs/tailwindcss',
@ -42,7 +37,7 @@ export default defineNuxtConfig({
'/index.php': { redirect: '/' },
},
nitro: {
minify: false,
// minify: false,
prerender: {
crawlLinks: false
},
@ -51,7 +46,7 @@ export default defineNuxtConfig({
assetsInclude: ['**/*.glb', '**/*.gltf'],
build: {
// minify: 'esbuild'
minify: false
// minify: false
},
},
robots: {