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

Commit

Permalink
fix(bug): incorrect context referenct in nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
JCBarry committed Mar 22, 2019
1 parent bf2f8e5 commit 647cab0
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 647cab0

Please sign in to comment.