astro-service-worker icon indicating copy to clipboard operation
astro-service-worker copied to clipboard

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

Open marco-wd opened this issue 1 year ago • 0 comments

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';

marco-wd avatar Mar 07 '23 14:03 marco-wd