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
|
||||
env:
|
||||
NODE_ENV: production
|
||||
run: pnpm install --frozen-lockfile --prod
|
||||
run: pnpm install --frozen-lockfile --prod --ignore-scripts
|
||||
|
||||
- name: Build frontend
|
||||
working-directory: ui
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export default defineNuxtConfig({
|
|||
'@vueuse/nuxt',
|
||||
'floating-vue/nuxt',
|
||||
process.env.NODE_ENV === 'development' ? '@nuxt/eslint' : '',
|
||||
],
|
||||
].filter(Boolean),
|
||||
|
||||
nitro: {
|
||||
output: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue