Skip to content

Commit 84d2987

Browse files
authored
Merge pull request #1364 from system76/remove-nuxt-dynamic-image
Remove nuxt dynamic image This is not in any actual vue code and is now causing a fatal error in the build process. It can safely be removed from the generation pipeline
2 parents 37d5bb9 + 5bc7308 commit 84d2987

5 files changed

Lines changed: 27 additions & 337 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,6 @@ jobs:
9090

9191
- name: Build
9292
run: npm run build
93+
94+
- name: Debug
95+
run: ls -la dist/_nuxt/content 2>&1 || true

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/cache@v5
2626
with:
2727
path: ./node_modules
28-
key: v2-${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2929

3030
- if: steps.cache.outputs.cache-hit != 'true'
3131
name: Install
@@ -38,7 +38,7 @@ jobs:
3838
NODE_ENV: production
3939

4040
- name: Debug
41-
run: ls -la dist/ .output/public/ 2>&1 || true
41+
run: ls -la dist/_nuxt/content 2>&1 || true
4242

4343
- name: Upload
4444
uses: actions/upload-pages-artifact@v3

nuxt.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,9 @@ export default async () => ({
7575

7676
buildModules: [
7777
'@nuxt/image',
78-
'@nuxtjs/tailwindcss',
79-
'nuxt-dynamic-images'
78+
'@nuxtjs/tailwindcss'
8079
],
8180

82-
dynamicImages: {
83-
puppeteerOptions: { headless: true, args: ['--no-sandbox'] }
84-
},
85-
8681
modules: [
8782
'nuxt-content-git',
8883
'@nuxt/content'

0 commit comments

Comments
 (0)