Fix: remove dev packages during final build
This commit is contained in:
parent
fa7292ac35
commit
7e09bf7e18
2 changed files with 2 additions and 2 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -117,7 +117,7 @@ jobs:
|
||||||
working-directory: ui
|
working-directory: ui
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
run: pnpm install --frozen-lockfile --prod
|
run: pnpm install --frozen-lockfile --prod --ignore-scripts
|
||||||
|
|
||||||
- name: Build frontend
|
- name: Build frontend
|
||||||
working-directory: ui
|
working-directory: ui
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ export default defineNuxtConfig({
|
||||||
'@vueuse/nuxt',
|
'@vueuse/nuxt',
|
||||||
'floating-vue/nuxt',
|
'floating-vue/nuxt',
|
||||||
process.env.NODE_ENV === 'development' ? '@nuxt/eslint' : '',
|
process.env.NODE_ENV === 'development' ? '@nuxt/eslint' : '',
|
||||||
],
|
].filter(Boolean),
|
||||||
|
|
||||||
nitro: {
|
nitro: {
|
||||||
output: {
|
output: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue