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 COPY . /src
RUN npm run build RUN npm run build
CMD npm run preview -- --host # CMD npm run preview -- --host
# CMD node .output/server/index.mjs CMD node .output/server/index.mjs

View File

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