diff --git a/lib/index.js b/lib/index.js index 5735969..30549d4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -117,7 +117,7 @@ export default function(options) { } } }, - 'astro:build:start'({ buildConfig }) { + 'config.build'({ buildConfig }) { args.clientRelative = relative(fileURLToPath(buildConfig.server), fileURLToPath(buildConfig.client)); } }