thepassle / astro-service-worker

https://astro-sw-demo.netlify.app/
MIT License
66 stars 3 forks source link

Hi, I'm trying to use your integration and run npm run build, but I get this error: #6

Open marco-wd opened 1 year ago

marco-wd commented 1 year ago

10:55:46 PM [content] No content directory found. Skipping type generation. error Cannot destructure property 'buildConfig' of 'undefined' as it is undefined. File: /home/mark/first/node_modules/astro-service-worker/adapter/index.js:55:31 Code: 54 | },

55 | 'astro:build:start': ({ buildConfig }) => { | ^ 56 | buildConfig.client = outdir; 57 | buildConfig.server = new URL('./worker/', outdir); 58 | buildConfig.serverEntry = 'index.js';