Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
Build did not work on latest version of "create astro".

```
  "dependencies": {
    "astro": "^2.0.2"
  },
  "devDependencies": {
    "@matthewp/astro-fastify": "^2.0.3"
  }
```

Issue origin: withastro/astro#5056
  • Loading branch information
romanzy313 committed Jan 28, 2023
1 parent c7c3860 commit d0c6dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function(options) {
}
}
},
'astro:build:start'({ buildConfig }) {
'config.build'({ buildConfig }) {
args.clientRelative = relative(fileURLToPath(buildConfig.server), fileURLToPath(buildConfig.client));
}
}
Expand Down

0 comments on commit d0c6dc9

Please sign in to comment.