Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
fix(core): fi incorrect context reference in Nuxt hook (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
giovagnoli authored Mar 23, 2019
2 parents bf2f8e5 + 647cab0 commit 85bed44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@statusfy/core/client/modules/statusfy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ module.exports = async function Statusfy() {
});

this.nuxt.hook("build:before", async builder => {
const { isStatic } = builder.bundleBuilder.context;
const { isStatic } = builder.bundleBuilder.buildContext;

if (isStatic) {
this.nuxt.hook("build:done", async generator => {
Expand Down

0 comments on commit 85bed44

Please sign in to comment.